I don't have shell access so can't use the mysqldump command Also the use of sentences like SELECT * INTO OUTFILE are restricted
SOLVED: I've found several PHP scripts/libraries/classes in google code.
Than a SELECT * FROM
and afterwards a file_put_contents()
Otherwise explain why not doing one of the following!
What do you want the output to look like? If it should look like a regular dump file, that good luck in writing your own PHP to mysql dump file converter.