Jump to content

[SOLVED] Help with <br> script.


iPixel

Recommended Posts

Why isn't this working?

I'm trying to get it to look like so...

 

[Zero][1]  // supposed to be 0 but BB wont allow it.

[2][3]

[4][5]

[6]

 

               		<?php
				for($i=0; $i<=7; $i++)
					{
						if($i%2!=0)
							{
								$break="<br>";
							}
						?>
                            <div id='vidclix'><?php echo $i; ?></div><?php echo $break; ?>
                            <?php
					}
				?>

Link to comment
https://forums.phpfreaks.com/topic/173251-solved-help-with-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.