RE: [PHP-DB] INSERT question. 2 pointers.

2002-11-22 Thread Hutchins, Richard
ion, check the MySQL manual under the heading "INSERT Syntax". > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 1:11 AM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] INSERT question. 2 pointers. > >

[PHP-DB] INSERT question. 2 pointers.

2002-11-21 Thread Amit_Wadhwa
hi Scott, 1. When you are using an insert where you dont want to use all columns: use this: $query = "INSERT INTO accounts VALUES('".$accnts[0]."', 'TIMESTAMP(10)','','','','',)"; (never have empty comma strings with nothing inside.) 2. Secondly, when you get errors, and you dont know where the e