Hi there
I have a string which I have retrieved from a MySQL database which contains some variables like username, password etc (the string makes up an email to be sent to new users).
When I hardcode the string into the PHP script, the variables are happily parsed and turned into the actual username/password for that execution of the script, however when I am retrieving the string from the db this does not happen. Instead I get something like:
Hello $username, your password is $password.
I've tried various different things to get this to work, but with no luck.
If anyone could offer me some help I would be very grateful.
If you would like me to post some code to make my problem clearer then I can do so.
Thanks. 😃