[thelist] php mail() settings limited?

Tony Crockford thelist at lists.evolt.org
Sun Oct 13 17:35:01 2002


Andrew,

It's always useful to check that PHP is actually getting results:

	while ($row = mysql_fetch_array($result))
		{
			$EmailTo .= ", " . $row["email"];
*			echo "$EmailTo";
			$ok = true;
		}

*insert this line and each email address should be echo'd to your screen
as PHP works through the DB.

If nothing shows you have a DB problem

HTH