I am new to PHP, and am attempting to build a basic php website for a university project. The aim of the site is to compare GPS co-ordinates (using the abs() function) in order to find the closest parking space to a given landmark.
I have all of the GPS Co-ordinate data stored in my database, and can so far manage to retrieve it using mysql_fetch_array functions and echo it, but I am unsure of how to isolate a given landmark or parking from an array, and then compare the two.
Any suggestions would be greatly appreciated.