I am trying to export just the rows of a mysql table without the table information to an xml file. I read that the mysqldump command will get the job done but I cant manage to get the correct syntax. Can someone post an example code for mysqldump command? Thank you.
$command="mysqldump --xml ";
mysqldump --xml name_of_databaseat minimum. It won't dump everything for you unless you explicitly pass in the `--all-databases option.