php/mysql insert problem
Hi
I'm having a problem with php/mysql
if I use insert into table values (xxx,xxx) everything works fine but if I use
insert into table set a=x, b=y, c=z
each new record gets inserted into the table 3 times
Anyone had this happen to them before?
and if so what is the solution - I know I can change all of the statements to use the values () syntax but I'd rather understand why the other one doesn't work.
__________________
Never argue with idiots. They just drag you down to their level and then beat you with their experience.
If ignorance is bliss then some of the people I know must be orgasmic.
|