You have to use mysqldump utility to make script, then you can put it into your
PHP script and run that script:
<?php
$sql = "<PRODUCED SCRIPT BODY GOES HERE>";
mysql_query($sql);
?>

or just dump your database directly to remote server by running mysqldump with
parameters Host and some other. The only difficulty could be, that remote
provider could reject all emote connections :((

the third way is to place PHP script on remote mashine and to connect to your
local MySQL server and just make some SELECT-INSERT. Here you can have the same
problem as in previous: proveder can reject all connection aoutside their box
:(((


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

Reply via email to