Jump to content
php.lv forumi

While sadalīšana!


thesnarkie

Recommended Posts

echo "<tr>";
while($myselect = mysql_fetch_assoc($show_all)) {
				 echo "<td class='titlegreen' colspan='3'>
					  <table border='0' cellspacing='1' cellpadding='1'>
					  <tr><td style='background: url(http://i.meteorgames.com/ic/bg/000000_both_b48.png) no-repeat;'>

					  <table border='0' cellspacing='0' cellpadding='0'>
					  <tr><td style='background: url(" . $myselect['image'] . ") no-repeat;'>

					  <table border='0' cellspacing='0' cellpadding='0'>  
					  <tr><td><img src='http://mgimg.net/ic/b/73d823_b48.png'></td></tr>
					  </table>

					  </td></tr>
					  </table>

					  </td></tr>
					  </table>
					  </td>"; 
			 }
echo "</tr>";

 

Viņš sataisa rindu ar entajiem attēliem, bet kā lai uzraksta tā, ka viņš sataisa piecus un tad ņem jaunu rindu un atkal piecus un jaunu rindu? :)

Edited by thesnarkie
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.   Paste as plain text instead

  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...