Hi all,
I am writing a PHP script to send custom emails. I have MySQL table with fields like FName, LName, Add, City etc.
I plan to use the @@filed_name@@ typo for positioning for unique text for which I need to map the @@filed_name@@ with the appropriate MySQL table cols.
How can I identify @@Some_field@@ from the message string and run a str replace or preg_replace.
Can someone help me with this. Eg. ----------------- Dear @@FName@@ @@LName@@, @@Add@@, @@City@@.
With reference to your requirement...... -----------------
Thank you in advance.
Vai