More Unsubscribe
Jason
In the email template IBCRF2012.php when I have Unsubscribe set as the parameter, <a href="http://ibcrf.org/IBCRF-ThankYouUnsubscribe.php?email=info@thilldesign.com">Unsubscribe</a>, it emails exactly to info@thilldesign.com.
I would prefer template IBCRF2012.php email to the data base address from which the email was sent from emailComeBack.php. I copied the recordset from emailComeBack.php into template IBCRF2012.php linked Unsubscribe to IBCRF-ThankYouUnsubscribe.php and set the parameter as emailAddress from Recordset1. Adding a recordset to template IBCRF2012.php generates these errors when I try to send emailComeBack.php:
Notice: Undefined variable: database_ibcrf in /data/9/2/77/103/2729755/user/2999754/htdocs/webassist/email/templates/IBCRF2012.php on line 34
Notice: Undefined variable: ibcrf in /data/9/2/77/103/2729755/user/2999754/htdocs/webassist/email/templates/IBCRF2012.php on line 34
Warning: mysql_select_db() expects parameter 2 to be resource, null given in /data/9/2/77/103/2729755/user/2999754/htdocs/webassist/email/templates/IBCRF2012.php on line 34
Notice: Undefined variable: ibcrf in /data/9/2/77/103/2729755/user/2999754/htdocs/webassist/email/templates/IBCRF2012.php on line 36
Warning: mysql_query() expects parameter 2 to be resource, null given in /data/9/2/77/103/2729755/user/2999754/htdocs/webassist/email/templates/IBCRF2012.php on line 36
template IBCRF2012.php, without using a recordset, sends the Unsubscribe email, templates_15.php, using the URL Parameter "email", <?php echo $_GET['email']; ?>. That works fine but not from the database emailComeBack.php uses to send IBCRF2012.php. If I bind templates_15.php to Recordset1 using emailAddress the email fails.
Hoping I may be on the right track here and that you can shed some light on this dilemma. Thank you.