Variables/tags within element

SoilentRed

Caaan do!
I have form that loops through data and pulls first name and last name and full name. that form has textarea for the message.

I want to be able to tag first and last name data in the message through the loop.

I'm using cron/fabrik scheduler to send the messages

Code:
            $fname = $row->first_name;
            $lname = $row->last_name;
            $fullname = $row->name;

I've tried accessing this a few ways but the way it looks in the message in mysql is just like the variable and not the name

I've tried {$fname} '$fname' and '.$fname.' in my tagging approacf to no avail.

It's worth noting that I had to do this to the message tag because it was converting my special characters in the message to other stuff.

Code:
 $myDb->quote(html_entity_decode( '{sms___message}', ENT_QUOTES | ENT_XML1, 'UTF-8') ),

I THINK this may be preventing the tags from being eval's but i'm not sure. Thoughts and ideas are welcome.
 
I'd need to know exactly where and how you are running this code, and what (if any) processing you are doing when the data is actually submitted.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top