mail() while() loop

From: Date: Thu, 06 Jul 2000 01:41:13 +0000
Subject: mail() while() loop
Groups: php.general 
Request: Send a blank email to php-general+get-5141@lists.php.net to get a copy of this message
I want to send all the results of a query/calculation in a single email to a user. I know the syntax for the mail function. But how do I get all the rows from the results of the query into a single email. $list = mysql_query("select * from products order by name ASC"); while ($row = mysql_fetch_array($list)) { do somethings } Put the while inside of the email() ? Thanks eric __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/

« previous php.general (#5141) next »