Hi there, maybe its plain simple but i cant find a satisfying sollution for it...
I wrote a simple thing to put the contents of a form in a .htm file and so that it puts the date fillled in in the form in the filename... but now the problem! π
when i have to fill in more then once a day the form... i get multiple files with exact the same name which obviously isnt working π
Is there a way to generate a random number starting at 000 or 00 and counting up 1 by 1 to put in the filename for that it looks like something as this:?
001_10-07-2004_storing.htm
002_10-07-2004_storing.htm
i have the whole thing working already i only need an addition to put the 001 etc in the file name!
the 001 and 002 dont have to start over at each day... just a counting thing is enough π
also if this requires a mysql database its not a problem... altough i have NO real experience with it!
I looked up the rand command in php.net but im not sure if this is what i need.
Thanks!:glare: