Try replacing that with this bit of code:
$db = mysql_pconnect("localhost", "testdb", "test123") or exit(mysql_error());
It should give you a more descriptive error message. Note I didn't put the "@", which
is used to suppress error messages in PHP.
Adam Hooper
[EMAIL PROTECTED]
On 31 May 102
Type this line of code before your line
$db = mysql_pconnect("localhost", "testdb", "test123") or
die(mysql_error());
The error u get will be pretty descriptive.
If not revert back to me.
nev L.
-Original Message-
From: Ricardo Fitzgerald [mailto:[EMAIL PROTECTED]]
@ $db = mysql_
Hi,
I'm developing a web application using mysqld as a localhost but
accessed from anywhere. My problem is simple, after entering form
data, and execute the php script, always returns an error I wrote in
case of unsuccesful connection to the db.
I did everything , create a user with many privile