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


Database data in email not form data in email

Thread began 12/17/2009 7:32 am by walt125013 | Last modified 12/17/2009 2:11 pm by Eric Mittman | 685 views | 1 replies |


Database data in email not form data in email

When I am sending an email from my form the same data has been sent. After days of this happening and trying to figure it out I found that it has been sending the first record from the database over and over again, but not the actual information from the email that I am sending.

The information from the 3email is getting into the database fine...

I am aware of part of the solution...I need to have the form field data inserted into the email, but where do I put that info so that it is inserted into the email?

Is it in the code of the UE .php document or is it embedded in the actual form page?

Sign in to reply to this post

Eric Mittman

To get the form info in the email message you will need to edit the Universal Email server behavior that you have applied to the page. In the server behavior go to the body tab and edit it in DW. To get the info from your form in the body you can just go to the bindings tab of the application panel and expand the form, then drag and drop the bindings into your email message where you want to see those values.

If you want to get the info back out of the db and put in the email then you will need to edit the body and add a recordset to the page that will select the just inserted record from the db. If you are inserting the record with a DataAssist Insert then you should have the id for the record stored in a session variable. You can use this value to filter the recordset.

If you do not have this session variable available then you will need to filter the recordset another way, you can use some of the info from the form itself to filter the recordset.

Sign in to reply to this post

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...