I'm trying to create a table using a MySQL fetch array while loop that would look like this:
CONTENT1 CONTENT2
CONTENT3 CONTENT4
CONTENT5 CONTENT6
I need a <TR></TR> for every other piece of content. But I don't know how to do this with a loop that uses a MySQL fetch array
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
PHP CODE THAT IS LOOPED;};
I'm trying to remember from my old college Java class that we did something with loops for whenever the counter variable was even the loop would do something special... I don't know if this is possible with a while+mysql_fetch_array loop though.



LinkBack URL
About LinkBacks




Bookmarks