RE: [PHP-DB] possible Error in Querydefiniton

2002-10-07 Thread Ruprecht Helms
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

RE: [PHP-DB] possible Error in Querydefiniton

2002-10-07 Thread John W. Holmes
Subject: RE: [PHP-DB] possible Error in Querydefiniton > > > 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

Re: [PHP-DB] possible Error in Querydefiniton

2002-10-07 Thread Jason Wong
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","ro

RE: [PHP-DB] possible Error in Querydefiniton

2002-10-07 Thread Ruprecht Helms
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 I always become the die-message. I'm using PHP Version 4.0.6 Regards, Ruprecht --

RE: [PHP-DB] possible Error in Querydefiniton

2002-10-06 Thread John W. Holmes
:25 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] possible Error in Querydefiniton > > Hi, > > I've some trouble with the following querydefinition > >mysql_connect("localhost","root"); > mysql_db_query("finace","INSERT INTO bu

[PHP-DB] possible Error in Querydefiniton

2002-10-06 Thread Ruprecht Helms
Hi, I've some trouble with the following querydefinition and this is the tablestructur +-+--+--+-+-++-- | Field | Type | Null | Key | Default | Extra | Privileges | +-+-