mardi 18 février 2020

How to fetch record from table based on post ip address in laravel using eloquent ORM

I am want to fetch record based on user post ip address. I am using eloquent ORM. in such case which format ip address should be stored in database.

$ip = '192.255.365.25';
$employee = Employee::find($ip);

not able to fetch full record for respective rows



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire