|
Re: Increasing Number Generator..
EDIT: Read below.
You should be able to do it all in one query:
- Code: Select all
mysql_query("UPDATE WORNum SET num=num+1 WHERE id='1' ");
Might work, cant really think of it off the top of my head. Just have the table with 2 fields, id and num.
Last edited by mtgmaster; Aug 2nd, 2006 at 14:54.
|