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

[PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Blanton, Bob
Hi,   If I want to use MySQL with PHP do I need to re-compile PHP or can I just adjust the php.ini file to use MySQL?    Thanks in advance. Bob

[PHP-INSTALL] Using MYSQL with PHP 5

2005-10-26 Thread Supscriptions
Hi,   I want to use MySQL with PHP 5 but it is not enabled by default. The manual I downloaded says I have to build PHP myself. How do I do this? I a web designer not a programmer! The manual says you need MS Visual Studio! Do I really need to buy this programme just to use MySQL? Can anyone