Jump to content

[SOLVED] array display question


shadiadiph

Recommended Posts

How can i get the arrays in this array to display the $email results seperated by commas right now the array is one long string so I get 3 email addresses in one long line

 

<?
$sql = "SELECT * FROM tblsubscribeddetails order by intSubID";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {

$email    = $row["email"];

echo $email;
}
?>

 

 

Link to comment
https://forums.phpfreaks.com/topic/142079-solved-array-display-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.