![]() |
|
#1
|
|||
|
|||
auto numberHow to generate auto number for php? For example, every time I submit the details to another page, the number will add from 10001 to 10002. Thank you.
|
|||
|
#2
|
||||
|
||||
|
The simplest idea I can think up right now is to store an integer in a text file / database and simply get the value and increment it by one everytime you need it?
Not forgetting that you'd need to update the new value in the file / db each time too... __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Grand Theft Auto | pcxgamer | Computer Software Forum - Games | 0 | 20-Dec-2003 17:26 |
| How to find the last 6 digits of a 8 digit number? | rjd72285 | C++ Forum | 3 | 28-Oct-2003 09:21 |
| Displaying the Post Number | BobbyDouglas | Open Discussion Forum | 4 | 10-Oct-2003 11:43 |
| Beginning C++ math prog | Dariklar | C++ Forum | 6 | 10-Sep-2003 12:51 |
| [class] Auto add / strip slashes regardless of setting. | JdS | PHP Code Library | 0 | 17-Jan-2003 02:35 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The