kirisutegomen Posted August 28, 2009 Share Posted August 28, 2009 ok so what i want to do is row row page break row row page break row row page break any know how to do this? Quote Link to comment Share on other sites More sharing options...
dreamwest Posted August 28, 2009 Share Posted August 28, 2009 $result = mysql_query( "select stuff"); while ( $record = mysql_fetch_assoc( $result ) ){ $counter = 0; echo $row['id']; if($counter == 2){ echo "Stopped!"; break; } $counter = $counter + 1; } Quote Link to comment Share on other sites More sharing options...
ignace Posted August 28, 2009 Share Posted August 28, 2009 if (0 === ($i % 2)) { echo '<br>'; } echo '<span>' . $record . '</span>'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.