[PHP] Query help needed

2001-11-29 Thread Payzillee
Hi, could anyone tell me what is wrong with this Insert query? I get an 'Invalid query' error but I can't see the problem at all. All the fields match exactly what is in my database, it's all in lowercase too. Cheers. mysql_query (INSERT INTO listserve (title, surname, forename, job_title,

[PHP] Query Help Needed

2001-11-29 Thread Payzillee
Hi, could anyone tell me what is wrong with this Insert query? I get an 'Invalid query' error but I can't see the problem at all. All the fields match exactly what is in my database, it's all in lowercase too. Cheers. mysql_query (INSERT INTO listserve (title, surname, forename, job_title,

Re: [PHP] Query Help Needed

2001-11-29 Thread Payzillee
... Do those field names need single quotes too? Can't remember right now ... Are there any datatype problems (wrong kind of datatype for a field)? What about a semi-colon at the end? Mick On Thu, 29 Nov 2001, Payzillee wrote: Hi, could anyone tell me what is wrong with this Insert query?

Re: [PHP] Query Help Needed

2001-11-29 Thread Payzillee
exactly is the error message? Payzillee wrote: Hi, could anyone tell me what is wrong with this Insert query? I get an 'Invalid query' error but I can't see the problem at all. All the fields match exactly what is in my database, it's all in lowercase too. Cheers. mysql_query