I am trying to figure out how to send an email for an order confirmation (when someone orders something from a website I want to send them a description of what they ordered and the price). I don't know put the information from the database into the email. I have used the mail() function before but not in this way. Also I don't know how many things they will have ordered so I can't just store it in a variable, I'll have to print it out of an array.
looks it will be hard for u friend
u can use hidden fields to pass variables between pages or cookies or the best way give the customer a session and save things to database
at the end i am new like u and just tried to help u :o
if the order is placed via form
u could use the
$_POST[variableName] method