Im trying to build an application for a shopping cart that when the user want to place his order the system sends me an email with the order:
I have a table called acuario_shop_temp that have:
===========
id_ses
id_product
cant
date
What i do is do a:
"$info = mysql_query ("Select * from acuario_shop_temp where id_ses = $id_ses"
now.. that returns multiple lines wich i read as:
while ($row = mysql_fetch_row($info)){
}
then i want to use the funtion mail()
so i do the
$send = mail($to, $subject,$message,$mailHead,$mailparam);
HOW.. do i fill that variable $MESSAGE with the rows that i get from the table acuario_shop_temp ???
any ideas?? :eek: :eek: