close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Binding dynamic data into email

Thread began 6/24/2010 11:13 am by christina.elissa4324782 | Last modified 1/21/2011 3:44 pm by christina.elissa4324782 | 2998 views | 18 replies


I moved the email code on my ifpaConferenceRegistration.php page to be before the MRT code (though it needs to go after it, but I don't get the errors when it's after) and showed errors. I get the following errors:

Notice: Undefined variable: database_ifpaDataBase in /home/cluster1/data/c/n/1907258/html/websites/ifpa/webassist/email/templates/ifpaConferenceRegistration.php on line 49

Notice: Undefined variable: ifpaDataBase in /home/cluster1/data/c/n/1907258/html/websites/ifpa/webassist/email/templates/ifpaConferenceRegistration.php on line 49

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/cluster1/data/c/n/1907258/html/websites/ifpa/webassist/email/templates/ifpaConferenceRegistration.php on line 49

Notice: Undefined variable: ifpaDataBase in /home/cluster1/data/c/n/1907258/html/websites/ifpa/webassist/email/templates/ifpaConferenceRegistration.php on line 51

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/cluster1/data/c/n/1907258/html/websites/ifpa/webassist/email/templates/ifpaConferenceRegistration.php on line 51

I've taken this code from a detail page created by DataAssist. So I don't understand why I'm getting these errors. I have attached the email template and the registration page (one version that produces the error the other doesn't)

I've tested the sql in phpMyAdmin but had to replace part of it when testing because it calls on the session. So I replaced:
WHERE attendee.attendeeId = %s OR ( -1= %s AND attendee.attendeeId= %s)
WHERE attendee.attendeeId = 1
and I got the record

I've also made this change and then viewed the template in the browser and it shows up correctly. I just changed it back to WHERE attendee.attendeeId = %s OR ( -1= %s AND attendee.attendeeId= %s) and refreshed the browser and it showed up correctly with the information from my last test.

I have used universal email to send to my email several times and it works. In fact the default email template worked, but I needed it to show information from the MRT tables too and had to change the template and that's when it stopped emailing.

Thank you for your assistance

Attached Files

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...