PHP can be used to create dynamic XML files that get data from your MySql database. Things to consider with the code below: There should be no spaces or open lines before “ All values between ‘[]’ brackets need to be replaced by your own settings. The three header lines will make sure your browser … Read More →
Category Archives: Database
MYSQL – Getting Your Local Time
Time zones are always tricky. Luckily Coordinated Universal Time (UTC) makes it easy to get your local time even if your database is hosted on the other side of the world. The code below returns the local time in New Zealand.