Now i only get Autoresponder and admin mails. In BCC in DBTS FP i'v got this: ".$_POST['mailto']."Navaldesign wrote:It should NOT go in a hidden field !
It must go in the emails array:
while ($i < $result) {
$mailto = ",".mysql_result($result,$i,"email");
$i++;
}
Should this (DB) code bee in the End of script custom processing field? as i have now i got in a HTML box at start of page?
Also i get , before the first mail if i echo this echo "<b><br>$mailto<hr><br></b>"; will that work?
Thank you.
Code: Select all
$query="SELECT * FROM USERS WHERE Kategori='Bygg & Anläggning'";
$result=mysql_query($query);
$num=mysql_numrows($result);
$row = mysql_fetch_array ($query);
mysql_close();
$i=0;
while ($i < $result) {
$mailto = ",".mysql_result($result,$i,"email");
echo "<b><br>$mailto<hr><br></b>";
$i++;
}
?>