Is there a built-in PHP function or a library somewhere I can use to export a MySQL database to an XML schema? For that matter, if PHP doesn't have it does mySQL have a feature built into it that will export it as XML?
I don't want to write it all by hand unless I have to. Thanks in advance :-P
Update: For all interested parties, mysql has a function built into it to accomplish this exact task. From a commandline / terminal window, type
I don't want to write it all by hand unless I have to. Thanks in advance :-P
Update: For all interested parties, mysql has a function built into it to accomplish this exact task. From a commandline / terminal window, type
mysqldump -u <user> -p --xml > /path/to/file
