Recordset Data in Email Templates
I have a recordset on the page where the Universal Email server behavior resides ($rsProps). I want to use data from that recordset in the email template that Universal Email uses (Blank_2.php). I have followed the advice of previous threads with no luck.
It seems that it all hinges on defining the recordset variable scope as global.
What is the proper procedure?
1. My recordset is rsProps
2. The Universal Email behavior resides on the same page as rsProps
3. My email template is Blank_2.php
3. I have added both "global $row_rsProps" and "global $rsProps" to the top of Blank_2.php with no luck getting the data to show when the email is sent
What am I doing wrong?