Hi Richard,
Richard I am trying to pull all the e-mail out of the database and put them
Richard in a format like this [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
Richard this is what I have now but I don't seam to be going in the right
Richard direction. Could somebody give me a
Hi Richard,
I *always* get this word wrong, but here goes You need to
concantenate (grimace), which means (simply) add to to the variable,
using .=
Modify your code slightly:
?
$recipient = ;
$result = @mysql_query($sql);
$num_rows = mysql_num_rows($result);
while($myrow =
sure it won't like that!
patch the while{} body and make it look like:
$recipient .= $myrow[email] . ,;
but better initialize the $recipient to before the while loop
and after the while loop do remove the last trailing ,
-elias
http://www.eassoft.cjb.net
Richard Kurth [EMAIL PROTECTED]
3 matches
Mail list logo