Yes -- strange title -- but let me try to explain--
I have a database that holds a message (editable by another php page)
this message is meant to be sent in email to certain people every so often. --
I pull the message out with a simple query, and then
$message=mysql_fetch_row($query);
mail ($to,$sub,$message[0],$header);
For example --- the field may contain something like
Hi $name
Your account balance is $balance
I have $name, and $balance defined in the php script, but I can't get it to replace the variables with the values --
When the email is sent, they get the $name, and $balance in the message, not the values defined.
I've tried putting all kinds of ' " and everything else I can think of around it, with no help -- any ideas??
Thanks !!