From: "Victor Spång Arthursson" <[EMAIL PROTECTED]>

> Wonder if anyone knows if there somewhere "out there" are any good
> functions that streams out data from mysql as a sql-file, like
> phpmyadmin does?
>
> The best would be one which I told which database and which tables to
> dump, and which directly stared streaming the data…

Look on phpclasses.org. I saw a class listed in their last email notice that
did what you're looking for. I'm sure there are a couple of options there.

The easy way to do it is to just make an exec() or system() call to
mysqldump (it comes with mysql). Just call the program and capture the
output. It's the easiest way.

---John Holmes...

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

Reply via email to