It looks OK, but I have lousy track record of writing out "perfect" sql
which doesn't work. Syntax looks OK.
1. What does it look like if you write out the update statement, assign it
to a var and then echo the var?
2. Can you try it at the console?
3. Try " or die(mysql_error) ;" to see if yo
error message is 'Invalid Query'.
"Douglas McKenzie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Could be that the value you're trying to insert doesn't match up with
> the field type in the database - you know, putting a word in a number
> field. What exac
Could be that the value you're trying to insert doesn't match up with
the field type in the database - you know, putting a word in a number
field. What exactly is the error message?
Payzillee wrote:
>Hi, could anyone tell me what is wrong with this Insert query? I get an
>'Invalid query' err
I've got my names, web addresses etc. set up as Varchar and my telephone/fax
numbers as Bigint. Special interests field as text. Only other field in
the database is an auto increment number field.
"Michael Hall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
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? I ge
5 matches
Mail list logo