John,
$link_id = mysql_connect($database); //identify connection handle
if (!$link_id) { die(sql_error()); } //test for connection handle
Regards,
Jaxon
On 1/20/01 11:57 AM, "John Coonrod" <[EMAIL PROTECTED]> wrote:
> When a database connection fails, how do I detect that in my script so I
When a database connection fails, how do I detect that in my script so I can
skip all the rest?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PRO
Hi:
Happy New Year!
I have some problem when I operate PHP +MySQL..
I use apache1.3.12 + PHP4.3.pl1 on win98
Today I downloaded MySQL 3.23.31 to process the
database .
I installed apache on c:\apache ,and I put PHP under
it's directory : c:\apache\php
When I executed the PHP's little
Hi:
Happy New Year!
I use apache1.3.12 + PHP4.3.pl1 on win98
Today I downloaded MySQL 3.23.31 to process the
database .
I installed apache on c:\apache ,and I put PHP under
it's directory : c:\apache\php
When I executed the PHP's little test query string on
the localhost web just like :