You are here: Re: The reapeating dilema « All PHP « IT news, forums, messages
Re: The reapeating dilema

Posted by J.O. Aho on 09/28/50 11:46

Lemune wrote:
> Sorry if I have many question. This is because I just new to html stuff
>
> including php and mysql. My new problem is about php that connect to
> mysql. I have this idea about updating record about document tracking.
> But when I run my script for the first time in one session, there is no
>
> problem, but when I add new record it does repeating. I meant when the
> first
> time I entry the data the number is 1, the second time I doing it
> the number became 3. I checked the database; I got
> confused because it has the record between number 1 and number 3. Use 2

Don't use AUTO_INCREMENT for the column, see ALTER how to remove this feature
http://dev.mysql.com/doc/refman/5.0/en/alter-table.html


//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация