Hi all,
Could someone tell me how I could put a for loop in mail()?
I'm trying this at the moment, but I just get an unexpected T_FOR error.
mail("email@hotmail.com", "Weekly Update",
for ($x=0; $x < mysql_num_rows($new); $x++)
{
echo $row[field];
}
,"from:site");
Could anyone give me a hand?
Thanks,
Mike