Jump to content

rearrange graphics for icons


Tammy

Recommended Posts

currently it's like this:

 

<table border="0" ALIGN="center"><tr>
<td><center><img src="<?php echo $urlpath . $file; ?>" border="0""></td>
</tr>
<tr>
<td><center><textarea onClick="javascript:select();" class="icons"><a href="http://<?php echo $site_url; ?>" target="_blank"><img src="<?php echo $urlpath . $file; ?>" border="0" alt="http://<?php echo $site_url; ?>"></a><br><a href="http://<?php echo $site_url; ?>" target="_blank">More icons at WildAddiction.net</a><br></textarea></td>
</tr></table>

 

but i want it to show up like this:

<table border="0" ALIGN="center"><tr>
<td><center><img src="<?php echo $urlpath . $file; ?>" border="0""></td>
<td><center><img src="<?php echo $urlpath . $file; ?>" border="0""></td>
<td><center><img src="<?php echo $urlpath . $file; ?>" border="0""></td>
<td><center><img src="<?php echo $urlpath . $file; ?>" border="0""></td>
</tr>
<tr>
<td><center><textarea onClick="javascript:select();" class="icons"><a href="http://<?php echo $site_url; ?>" target="_blank"><img src="<?php echo $urlpath . $file; ?>" border="0" alt="http://<?php echo $site_url; ?>"></a><br><a href="http://<?php echo $site_url; ?>" target="_blank">stuff</a><br></textarea></td>
<td><center><textarea onClick="javascript:select();" class="icons"><a href="http://<?php echo $site_url; ?>" target="_blank"><img src="<?php echo $urlpath . $file; ?>" border="0" alt="http://<?php echo $site_url; ?>"></a><br><a href="http://<?php echo $site_url; ?>" target="_blank">stuff</a><br></textarea></td>
<td><center><textarea onClick="javascript:select();" class="icons"><a href="http://<?php echo $site_url; ?>" target="_blank"><img src="<?php echo $urlpath . $file; ?>" border="0" alt="http://<?php echo $site_url; ?>"></a><br><a href="http://<?php echo $site_url; ?>" target="_blank">stuff</a><br></textarea></td>
<td><center><textarea onClick="javascript:select();" class="icons"><a href="http://<?php echo $site_url; ?>" target="_blank"><img src="<?php echo $urlpath . $file; ?>" border="0" alt="http://<?php echo $site_url; ?>"></a><br><a href="http://<?php echo $site_url; ?>" target="_blank">stuff</a><br></textarea></td>
</tr></table>

 

but if i use that code, it'll show up 4 of the same images at a time which is not what i want becos right now it will show:

 

1 1 1 1

2 2 2 2

3 3 3 3

 

 

but i want it to show:

1 2 3 4
5 6 7 8
9 10 11 12

 

How would i do that?

 

 

Link to comment
https://forums.phpfreaks.com/topic/125431-rearrange-graphics-for-icons/
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.