Greetings to all you PHP Gurus,
I'm stuck and need your help. Here is my problem.
What I have is a database of names and email addresses, and other personal user information for one of my sites. And what I have is a mail out script, before this I have always just send out a non personlized version of the newsletter, now I want to add person information.
What I have is a form, where I have the fields of SUBJECT and BODY, and what I would like to do is enter something like
Hi <FirstName>,
Your Order number is <OrderNumber>.
Your Phone Number is <PhoneNumber>
My regular script works fine without personalization, all I would like to know how to do is have PHP replace the <variable> for each value in the database or to put it easier, how do replace the <variable> with database contents in form of a loop.
Any help will be apreciated.
Thanks,
Andy