On Saturday 21 April 2001 15:39, Peter Van Dijck wrote:
Hi,
I want to write a script that takes a mysql dump file and pumps it into
the database.
What about simply using phpMyAdmin?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software is like sex: the best is for free"
If you can do it on the command line why not just use the system function
and use the command you would use on the command line..?
What you try to do now is to feed the whole dump file to mysql_query..
This will never work because mysql_query will only accept one query at a
time and the
PROTECTED]
Sent: Saturday, April 21, 2001 9:39 AM
Subject: [PHP] pumping database dump in mysql
Hi,
I want to write a script that takes a mysql dump file and pumps it into
the
database.
I got the dump in a variable and then did
$res = mysql_query($dumpvariable);
but that doesn't work? I know how
3 matches
Mail list logo