Get data directly from the database
Hello I am retrieving the latitude and longitude from the database and I get this error:
syntax error, unexpected '<'
The latitude and longtitude fields are varchar type and I am using this way the code:
The page has problem with this line:
'lat' => {{ $deviceinfo->address_latitude }},
If I put manually the coordinates then it works but from the database it doesn't work. Did someone have this problem?
Edited by BeginnerSoul