I have have tried to find the answere to this on line but without success!
I have a table called cart. In cart I have a column called ID. What I need
to do is take this code:
<?php
$result = mysql_query("SELECT * FROM cart WHERE cartId='$ID'");
bla bla bla
<?php echo $row["ItemNo"]; ?>
</font></td>
<td width="22%" height="6"><font face="verdana" size="2" color="red">
<?php echo $row["Name"]; ?>
</font></td>
<td width="14%" height="6">
<div align="center"><font face="verdana" size="1" color="black">
<?php echo $row["Quantity"]; ?>
</font></div>
</td>
<td width="7%" height="6" > </td>
<td width="10%" height="6" >
<div align="left"><font face="verdana" size="1" color="blue"> $
<?php echo number_format($row["Price"], 2, ".", ","); ?>
</font> </div>
</td>
<td width="7%" height="6">
<div align="left"><font face="verdana" size="1" color="blue">
<?php
$Cost += ($row["Quantity"] * $row["Price"]);
?>
<?php
$ItemCost = ($row["Quantity"] * $row["Price"]);
?>
bla bla
and somehow e-mail it to the client.
I would like to use the mail() function but can't seem to get $message= to
accept it.
IS there a way to do this. If not how do I e-mail the contents of
cartId='$ID to the client to process.
I'm new at this and fumbling my way through. Any suggestions would be
appreciated.
Thanks
Michael