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"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if (($_SERVER["REQUEST_METHOD"] == "POST")) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "randall@giganticcreative.com";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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
so that the recordset will be created before the email is sent.