i need to put a mysql_query into an email, best explained..

while ($row=mysql_fetch_rows($base)) //$base=MySQL Query
echo "<tr>\n";
echo "<td>$row[0]</td>\n";
echo "<td>$row[1]</td>\n";
echo "<td>$row[2]</td>\n";
echo "<td>$row[3]</td>\n";

well. the result is a table with users an information about them..
i want to sent this table by email with the mail() function but i tried 
putting php code in the $message like echo "<html>"..etc but it doesn't 

i'll appreciate some help


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to