Jump to content

Awards per line


Kyle Watkins

Recommended Posts

Hello,

I am having trouble with my pilot center awards bit. I am trying to only write 3 awards per line but having troubles. Any clue how to write only 3 awards per line?

nPoMF2c.png

<strong>My Awards</strong></p>
 <table width="450px">
 <tr>
	 <td><?php
			 if(!$allawards)
			 {
					 echo '<center><img src="http://www.voegolv.n...g_recusado.png" border="0" /><br><font face="Trebuchet MS" size="2">Piloto sem Awards.</font></center>';
			 }
			 else
			 {

					 /* To show the image:
							 <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" />
					 */

			 ?>
			 <?php foreach($allawards as $award){ ?>
			 <img src="<?php echo $award->image?>" alt="<?php echo $award->name ?> - <?php echo $award->descrip?>" />
			 <?php } ?>
		 <?php
			 }
			 ?></td>
	 </tr>
	 </table>

Thanks,

Kyle W

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...