When I run a query to retrieve a record from the database, I am passing an id
param but it is returning with an incorrect record:
with this query:
$idusers = \DB::table('users')
->select('users.*')
->where('id','=', $id)
->get();
I am passing id
= 91TDFS78
and the result is actually for the record with id
= 91
.
via nabil