Mail function med hidden fields
Hvorfor kommer "Price" ikke med i mailen???<input type="hidden" name="price" value="kr. 30">
<?php
$sql = mysql_query("SELECT * from users where Id = '$user'");
while($row = mysql_fetch_array($sql)){
mail("email@host.com","Website",
"Name: $row[name]
Price: $price",
"From: email@host.com\nX-Mailer: http://$HTTP_HOST$REQUEST_URI");
};
echo("sent");
mysql_close();
?>
