I have a website for school project, written in html,jsp and I use mysql as database for users info.
I have a pretty simple and basic knowledge of mysql and barely of php and everywhere I search they use php for that and I don’t really understand.
I have a database called “a1” and in that a table called “members”. I use ubuntu 10.10 if that matters.
So, how do I import a table in mysql to a XML file?
Iknow it’s a big request but explanations or links to some would be great 🙂
If this is just ‘import to xml’ once, one option is to use mysqldump from the command line.
http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html
MysqlDump dumps the contents of the tables to stdout, and can be piped to a file