April, 2013

Converting Radians in Degrees Latitude and Longitude

The task of converting radians to degrees is reasonably trivial. However, latitudes and longitudes are usually expressed in the range -90 to 90 for longitude and -180 to 180 for latitudes. This is only a convention – latitudes above 90 have real unique meaning and they should not create any problems in google maps etc. […]


Posted in javascript, Mathematics | 2 Comments »

Backing Up A MySQL Database With PHP Using MySQLi

I needed to download a database as SQL and thought ‘why re-invent the wheel?’ However I could not find any snippets that use MySQLi rather than MySQL. Also some of the coding was a bit bizarre to say the least leaving me thinking ‘how long did they play about with that before they got it […]


Posted in PHP and MySQL | 8 Comments »