It looks like you're new here. If you want to get involved, click one of these buttons!
I'm trying to do this:
$Sql->select("findDistance(addresslatitude,addresslongitude, 34.11111111 -100.00000001) distance");
findDistance is a function inside of mysql I created, so that works just fine.
The only problem I'm having is, that select string is throwing an error with :
Incorrect parameters in the call to stored function 'findDistance'
And right below that I'm seeing it changes it to this:
'select *, findDistance(addresslatitude, addresslongitude, 34.1111 as 1111, -118.3695699) as distance
The problem is this:
34.1111 as 1111
Anyone have an idea on how to fix this?