[nycphp-talk] mysql freakish error!
Chris Shiflett
shiflett at php.net
Fri Sep 5 13:31:09 EDT 2003
--- Phil Powell <soazine at erols.com> wrote:
> I have never in my life ever seen this happen, but I am doing a typical
> mySQL insert statement:
>
> insert into nnet_usermetadata (
> ...
> ) values (
> ....
> )
>
> if (!mysql_query(sql)) { // DO STUFF}
>
> the ID column field, nnet_userid, is an int auto-increment.
>
> This is where I have never in my career seen this happen before. The
> INSERT statement, upon execution, literally writes on top of another
> existing row, so instead of 5 or 6 rows I have only 1 row, same ID,
> values changed!
Show us some sample code. :-)
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
More information about the talk
mailing list