Loop Result without Null Values
I have created a loop
<?php mysql_data_seek($rs_users, 0); $row_rs_users = mysql_fetch_assoc($rs_users); ?><?php do { echo $row_rs_users['email'].";"; ?>
<?php } while ($row_rs_users = mysql_fetch_assoc($rs_users)); ?>
This will list email addresses with a semi-colon between them.
Where no email address exists a space is used followed by a semi-colon.
Is there a way that I could modify the code so that if there is a null result, nothing is printed, and the loop then continues through the rest of the results?