extra lines
| From: | Michael Gerholdt | Date: | Thu, 01 Feb 2001 02:50:44 +0000 |
| Subject: | extra lines | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6300@lists.php.net to get a copy of this message | ||
Why would this code produce the desired list of records in a table row, and
then add an equal amount of blank lines ( = num of records) before producing
the next set of records?
while ($row = mysql_fetch_array ($result)) {
$num = count ($row);
for ($c=0; $c<$num; $c++) {
echo $row[$c]."<BR>";
}
}
Thanks,
Mike @ keywordz