Let's say I have somethink like so:
If there are 4 rows returned, whatever is being returned gets displayed four times. If numbers are being return, how would I obtain the following?
1
2
text
3
4
Code:
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
echo $row[0];
echo '<br />';
}
If there are 4 rows returned, whatever is being returned gets displayed four times. If numbers are being return, how would I obtain the following?
1
2
text
3
4