dimanche 22 mars 2020

Find 00 in the array containing 0 and 00

example

$member = 0 => [
               "username" => 0
              ]
          1 => [
               "username" => 00
          ];

$collection = collect($member);

$dataUSER = $collection->where('username','00')->first();

but i got data username 0 ,i want username 00

How can i where in collection



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3bdhNg6
via IFTTT

Aucun commentaire:

Enregistrer un commentaire