Thank you. I have added <?php
global $imminentbalance, $emailone, $emailtwo, $emailthree;
?> at the top of the email body to pull in variables from the main page. $imminentbalance works because it is set before the DOCTYPE in the main page. the others ($emailone; $emailtwo; $emailthree) don't work - as they are set in the body of the main page, within a repeat region. Is there a way to make these work in the email body? I get this error when the email comes through...
Notice: Trying to get property of non-object in /home/horizontravelco/public_html/webassist/email/templates/Blank.php on line 28
Notice: Trying to get property of non-object in /home/horizontravelco/public_html/webassist/email/templates/Blank.php on line 32
Notice: Trying to get property of non-object in /home/horizontravelco/public_html/webassist/email/templates/Blank.php on line 37
I also seem to be having trouble adding recordsets to the email body page itself. If I add <?php require_once('../Connections/horizon_i.php'); ?> and
<?php require_once('../webassist/mysqli/rsobj.php'); ?> to the email body I get an error when submitting the form to send the email and if I don't include a connection script I get this error...
Notice: Undefined variable: horizon_i in /home/horizontravelco/public_html/webassist/email/templates/Blank.php on line 5
Fatal error: Call to a member function Prepare() on null in /home/horizontravelco/public_html/webassist/mysqli/rsobj.php on line 175