|
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]
|