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


Not seeing recordsets

Thread began 12/11/2009 10:35 am by randall390915 | Last modified 12/11/2009 1:34 pm by Jason Byrnes | 655 views | 1 replies |


Not seeing recordsets

I have a form that send an email to email addresses in a recordset and to one static email address. The problem is that the dynamic addresses from the recordset are not receiving the email and the static one is. Also, there is dynamic information in the email body that is not being sent either.

enclosed are the email form and the body file.

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

The problem is in the code order.

The universal email code at line 40 - 56 is before the recordset is created at line 123 - 137.

move the Universal Email code from line 4-56:

<?php require_once("WA_Universal_Email/mail_PHP.php"); ?>
require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
if (($_SERVER["REQUEST_METHOD"] == "POST"))     {
//WA Universal Email object="mail"
  //Send Loop Once Per Entry
$RecipientEmail "";include("WA_Universal_Email/WAUE_reportLost_1.php");
    do {
$RecipientEmail "".$row_rsFriend["friendEmail"]  ."";include("WA_Universal_Email/WAUE_reportLost_1.php");
      } while (
$row_rsFriend mysql_fetch_assoc($rsFriend));

//Send Mail All Entries
if (""!="")     {
header("Location: ");

to be just before the doctype tag currently at line 140:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

so that the recordset will be created before the email is sent.

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