Hi John W. Holmes,
You can find out why with mysql_error(), but it's probably because you
haven't selected a database with mysql_select_db().
now I have this code, but with the same result
?
mysql_connect(localhost,root);
mysql_select_db(finance);
mysql_db_query(finace,INSERT INTO
On Monday 07 October 2002 16:16, Ruprecht Helms wrote:
Hi John W. Holmes,
You can find out why with mysql_error(), but it's probably because you
haven't selected a database with mysql_select_db().
now I have this code, but with the same result
?
mysql_connect(localhost,root);
Use mysql_error() in your die() message to find out what the problem
was...
---John Holmes...
-Original Message-
From: root@linux [mailto:root@linux] On Behalf Of Ruprecht Helms
Sent: Monday, October 07, 2002 4:17 AM
To: John W. Holmes
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-DB
Hi John W. Holmes,
Use mysql_error() in your die() message to find out what the problem
was...
ok, typemissmatch was the problem. Thank for the tip.
Regards,
Ruprecht
Ruprecht Helms IT-Service und Softwareentwicklung
Tel/Fax:
You can find out why with mysql_error(), but it's probably because you
haven't selected a database with mysql_select_db().
---John Holmes...
-Original Message-
From: root@linux [mailto:root@linux] On Behalf Of Ruprecht Helms
Sent: Sunday, October 06, 2002 3:25 PM
To: [EMAIL