I work with two companion web sites, and would like to combine form
data from site A and site B into one database on site A.

Is this what I do?

� Go to phpMyAdmin/Manage Database on site A
� In the Account Hosts field, enter the IP address of site B
(000.000.000.000), and click Add Hosts
� On site B, have my connect information something like this:
<?PHP
$dbh=mysql_connect ("http://www.site-A.com";, "user_name_from_site_A",
"password_from_site_A") or die ('I cannot connect to the database
because: ' . mysql_error());
?>

Thanks
Dale




The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to