Re: [PHP-DB] Inserting Data into MySQL database

2006-06-16 Thread Oliver Block
Am Donnerstag, 15. Juni 2006 22:42 schrieb Girish Agarwal: Hi All, I have a table in mySQL database 5.0 the structure of which is as follows ssno INT 9, lname VARCHAR(15) NOT NULL, fname VARCHAR(15) NOT NULL, I am inserting the values using

[PHP-DB] Inserting Data into MySQL database

2006-06-15 Thread Girish Agarwal
Hi All, I have a table in mySQL database 5.0 the structure of which is as follows ssno INT 9, lname VARCHAR(15) NOT NULL, fname VARCHAR(15) NOT NULL, I am inserting the values using $query = insert into student (ssno,lname,fname) VALUES

Re: [PHP-DB] Inserting Data into MySQL database

2006-06-15 Thread dpgirago
Hi All, I have a table in MySQL database 5.0 the structure of which is as follows ssno INT 9, lname VARCHAR(15) NOT NULL, fname VARCHAR(15) NOT NULL, I am inserting the values using $query = insert into student (ssno,lname,fname) VALUES

Re: [PHP-DB] Inserting Data into MySQL database

2006-06-15 Thread dpgirago
Hi All, I have a table in MySQL database 5.0 the structure of which is as follows ssno INT 9, lname VARCHAR(15) NOT NULL, fname VARCHAR(15) NOT NULL, I am inserting the values using $query = insert into student (ssno,lname,fname) VALUES

[PHP-DB] Inserting data into MySQL

2003-03-15 Thread Louie Henry
Good Day All! I have been working a php/mysql and I have ran into a small problem. I have written an html form for inserting data, and it will not insert it. I am able to query the data from the data. I here is some of the code, maybe some one could point out the error.

Re: [PHP-DB] Inserting data into MySQL

2003-03-15 Thread John Gray
yes, or you need to use the 'INSERT INTO ([field1, field2...]) values (['val1', 'val2'...]) syntax. check the mysql insert syntax. http://www.mysql.com/doc/en/INSERT.html - john On Sat, Mar 15, 2003 at 06:37:54PM -0500, Louie Henry [EMAIL PROTECTED] wrote: Good Day All! I have been working a