I have to send an email, the email can be formatted and stored in database. But the problem is I have to use some variable in the email to make it a dynamic email for each user.
INSERT INTO email (greeting) VALUES ( "Hello $name");
$coding = mysql_query("SELECT * FROM email ") or die(mysql_error());
$email = mysql_fetch_array( $coding );
echo $email['greeting'];
it should echo Hello PERSONS_NAME; like Hello John, But it echo Hello $name, as it is..
Does not work, Any help ???