> Can someone tell me where can I find a function or class
> for export MySQL database (structure & data ) into text file ?

>From the system prompt:

path/to/mysql/bin/mysqldump -uuser -ppassword database_name >
filename.sql

will dump the entire database to an SQL file.

mysqldump --help

For more info. If you need to do this from within PHP, use an exec()
call.

---John Holmes...



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to