Forum Moderators: coopster
aol@aol.com;
yahoo@yahoo.com;
gmail@gmail.com
instead of aol@aol.com;yahoo@yahoo.com;gmail@gmail.com
Not sure if this is PHP applicable or if it should be accomplished by CSS, javascript, etc... I am assuming this is an easy fix and I am just missing it. Below is part of the code.
<textarea name="email" cols="40" rows="10" id="email" type="text"><?php do {?><?php echo $row_record1['email'], $row_record1['email2'], $row_record1['email3']?><?php } while ($row_record1 = mysql_fetch_assoc($record1));?></textarea>
So, its better you use something else...or else I juss came up with this not so ugly code...but is doing the work :
<textarea>
<?php
while ($row_record1 = mysql_fetch_assoc($record1)) {
echo $row_record1['email'] . "
";
}
?>
</textarea>
Just added an extra line after every email address display!
echo $row_record1['email']."\r\n";