RE: [PHP] How to connect Web Database from local machine

2002-10-06 Thread John W. Holmes
> I am having MySQL database on web. (eg., at www.lmcr.net). What is the PHP > script which I can connect the MySQL table from my Local machine. Can > anybody help me. Well, most hosting companies do not allow remote access to the MySQL server, but if you're does, then you connect the same way as

Re: [PHP] How to connect Web database

2002-10-06 Thread Intruder
You have to use mysqldump utility to make script, then you can put it into your PHP script and run that script: "; 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 provide

[PHP] How to connect Web Database from local machine

2002-10-06 Thread Vinod Bhaskar
Hi all, I am having MySQL database on web. (eg., at www.lmcr.net). What is the PHP script which I can connect the MySQL table from my Local machine. Can anybody help me. Regards, Vinod. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to connect Web database

2002-10-06 Thread Vinod Bhaskar
Hi Friends, I am having a local MySQL database & tables in Linux and the data is updated in the table using PHP scripts working through apache web server. local MySQL database is connected using the following php scripts. mysql_connect("localhost","root","vinodb") or die ("cannot connect to mys