How to create 5 digit sequence number
<p>I am having trouble when generate 5 digit sequence number in PHP.
All I want it when the user call the PHP file it will generate 00001 and then the next call it will generate 00002 and so on.
And then for the next day it will regenerate 00001, 00002 and so on.
eg: for today, I want to generate the sequence 5 digit number from 00001 to 99999 and for tomorrow I want to re-generate the sequence 5 digit number like yesterday.</p>