laravel - PHP - Different value shown when accessing id attribute -
i having issue accessing attribute laravel app.
a simple query fetch user this:
$login = users::select('user_id' ,'email', 'password')->where('email', input::get('email'))->first(); i've did dd($login) , shows attributes:
accessing it's user_id shows different (dd($login->user_id)):
accessing email (dd($login->email)) ok though.
table struct:
well..looks limit php.. i'm using 32-bit php max integer value 2147483647..or switch string.


Comments
Post a Comment