Javitri Posted January 7, 2011 Share Posted January 7, 2011 Hello, I'm working on this PHP website of my college. Where in after sending the order to the vendor an e-mail is sent to the person who ordered and the head of that department notifying them about the details of order along with that now I need to send a tracking number of every order in that e-mail which gets automatically incremented in subsequent orders. So please let me know how should I approach or do this. Thank you. Quote Link to comment Share on other sites More sharing options...
Javitri Posted January 7, 2011 Author Share Posted January 7, 2011 FYI: I don't have any database connection or any such dealings Quote Link to comment Share on other sites More sharing options...
Rifts Posted January 7, 2011 Share Posted January 7, 2011 if your code creating the tracking numbers? Quote Link to comment Share on other sites More sharing options...
Javitri Posted January 8, 2011 Author Share Posted January 8, 2011 No, I'm not getting how to do that. I'm confused how to start it. Please if you can help me Quote Link to comment Share on other sites More sharing options...
darth_tater Posted January 8, 2011 Share Posted January 8, 2011 We're gona need a bit more information than that... how is this script supposed to work? does it just make up the email addresses and tracking numbers? where do those come from? You should start reading on how to generate an email and how to use the email sending commands in PHP. google is your friend here. It sounds like that'll be your biggest problem. Quote Link to comment Share on other sites More sharing options...
gizmola Posted January 8, 2011 Share Posted January 8, 2011 FYI: I don't have any database connection or any such dealings If you're not storing the information about orders in any way, how do you expect to figure out what the next order number should be? Quote Link to comment Share on other sites More sharing options...
Javitri Posted January 11, 2011 Author Share Posted January 11, 2011 Yea true I cannot implement that without a database. Thank you for your replies. this did really help . Kudos to this forum and people who are helping. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.