Thread
:
how do i echo all rows in php?
View Single Post
01-15-2010, 12:21 AM
SmellyNose
Confirmed User
Industry Role:
Join Date: Aug 2009
Location: me at smellynose.com
Posts: 206
You could do it in MySQL, but I'd probably do it in the PHP as MySQL limits are usually what break things.
You could use an int to see where you are, like this:
Code:
$c=0; while($row) { if($c==0) { break;} echo $row['tag']; $c++; }
SmellyNose
View Public Profile
Find More Posts by SmellyNose