Allrite, i have a website on which a customer submits there order, say if they wanted 4 of one thing ... the info would be send to a text file.
Currently i have 4 products that i am offering ... so the text file looks something like this.
'2,3,1,0'
is there a way to put a counter on the text file so that everytime a new order is submited a new number inside the file would count up.
Example of what i mean is below.
- First order
0001,1,2,3,3
-Second order
0002,1,2,3,2
the first digit would increase everytime a new order was submited ... is there a way of doing this in perl?
or could anyone recommend a different way?
Thanks in advance.
Currently i have 4 products that i am offering ... so the text file looks something like this.
'2,3,1,0'
is there a way to put a counter on the text file so that everytime a new order is submited a new number inside the file would count up.
Example of what i mean is below.
- First order
0001,1,2,3,3
-Second order
0002,1,2,3,2
the first digit would increase everytime a new order was submited ... is there a way of doing this in perl?
or could anyone recommend a different way?
Thanks in advance.