Numbers

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
YoussefSiblini
Forum Contributor
Posts: 206
Joined: Thu Jul 21, 2011 1:51 pm

Numbers

Post by YoussefSiblini »

Hi,
I am generating a .doc files using php and then sending them to an email.
So every time the user (different users) buy from our website I want to send a .doc file.
The problem is I want the .doc files starts with the name 2001.doc and then next time another buyer buy the name changes to 2002 .......2003 .......2004 ..

Is there a way to achieve this?


Youssef
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Numbers

Post by Celauran »

You'll be tracking the orders somewhere; name the files using the order ID
Post Reply