Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

[PHP] Re: Receiving mySQL result from remote server? From: _lallous (elias_bachaalany <email protected>)
Date: 09/25/01

Yes you can.
It depends if you have a user name and password and access to access
abc.com's MySql server,

remember you do this:
<?
  $db_name = "newsdatabase";
  $db_uname= "username";
  $db_upass= "password";
  $db_host = "abc.com";

  $conn = mysql_connect($db_host, $db_uname, $db_upass);
  mysql_select_db($db_name);
?>
see?
try http://freesql.org (it is a free mysql database provider!;))

"Jeff Lewis" <jeff <email protected>> wrote in message
news:010301c14508$864c8060$1ce62b18 <email protected>
Is it possible to have a script at xyz.com retrieve data from a mySQL
database on abc.com?

Jeff

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>