|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Confirmation Email with Items
Hi, I am working on a shopping cart with no checkout. Everything is working fine, the user has the ability to add products, update quantities and remove products. When he/she is done, he./she fill out a form and as soon as submit is pressed an email is generated. One goes to the order department and the other goes to the user. Now, what I need is to have the items the user picked in this emails.
Is there a way to store this using session variables? Or is there another way to do this? Thanks |
|
#2
|
|||
|
|||
|
Ok - how are you storing the items now? If it is in session var's, show us the array structure...
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#3
|
|||
|
|||
|
Building A Persistent Shopping Cart With PHP and MySQL
I am using the Building A Persistent Shopping Cart With PHP and MySQL tutorial and modify it to fit my needs. The items are store in a table and identified by itemId and cookieId.
|
|
#4
|
|||
|
|||
|
PHP Code:
The above will get your data into a structured array. Then, you can iterate the array and build your email -> PHP Code:
Now, mail it -> PHP Code:
Now, if you would have posted your code the above could have been taylored to what your needs - with no code, we can not provided you with cut and paste solutions. You are going to have to figure the above out on your own unless you post your code - thats why it is essential that code be posted when you guys ask questions... |
|
#5
|
|||
|
|||
|
Thanks
Thanks, I don't have my files here but when I ged to work, I'll try out that code and in case I can't figure it out, I'll post my code.
Thanks for your help |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Confirmation Email with Items |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|