RE: [PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Blanton, Bob
Donatas,   That was it.  Thanks so much.   Bob     From: Donatas Vyzas [mailto:[EMAIL PROTECTED] Sent: Saturday, May 27, 2006 3:03 PM To: php-install@lists.php.net Subject: Re: [PHP-INSTALL] Using MySQL with PHP   Take a look at the line: $link = mysql_connect('

Re: [PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Donatas Vyzas
Take a look at the line: $link = mysql_connect('flms', 'userid', 'password')  //appears to stop here the first argument to mysql_connect is a host, where your mysql server is running. If your mysql server is the same computer where php is running, this might be 'localhost'. Otherwise, use IP n

RE: [PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Blanton, Bob
rray($result, MYSQL_ASSOC)) {    echo "\t\n";    foreach ($line as $col_value) {    echo "\t\t$col_value\n";    }    echo "\t\n"; } echo "\n";   // Free resultset mysql_free_result($result);   // Closing connection mysql_close($link); ?>    

Re: [PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Donatas Vyzas
Hi, MySQL support might be already available in your PHP. You can check that using phpinfo ( http://www.php.net/manual/en/function.phpinfo.php ). If you see MySQL section in the output of phpinfo() -  you already have MySQL support, if no - you have to recompile PHP with the following parameter