StirCrazy Posted July 5, 2006 Share Posted July 5, 2006 Wonder if anyone can help me. What is the correct syntax for the below?if $counter is divisible exactly by 3 {?> </tr><?php}Cheers guys,S.C> Quote Link to comment Share on other sites More sharing options...
ober Posted July 5, 2006 Share Posted July 5, 2006 [code]<?phpif(($counter % 3) == 0) echo "</tr>";?>[/code] Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 5, 2006 Share Posted July 5, 2006 You'll probably want to use something like this:if(($counter % 3) == 0)EDIT: Doh! Me too slow. Quote Link to comment Share on other sites More sharing options...
ober Posted July 5, 2006 Share Posted July 5, 2006 You can call me "Quikfingers McGee". ;) 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.