Backup Your Database into XML
Posted on August 24th, 2009 by George PalmerI can’t stress enough the importance of keeping regular backups of your data. For many a website it doesn’t get more essential than backing up the database. Imagine loosing your entire database, the consequences could be disastrous.
Here’s a helpful snippet of PHP that outputs your database as XML.
<?php
header("Content-type: text/xml"); //We’re going to display the XML [...]
