Where am I
On the right of my site is a map with data about my last known whereabouts, this map shows the last 100 Lat/Long points that my mobile phone send to my website database. On my mobile phone i use an app called GPSLogger that logs my Lat/Long data every 5 minutes to a custom URL.
The database table for this piece of the system is shown in the screenshot below, a php scripts makes sure that all the data is send to the correct column.
The PHP code that stores all the data from my mobile phone into the database is really simple, if u need any help, feel free to ask!