Hallo,
ik haal een image uit de database maar ik wil dat na elke 2e query dus komt en als ik dit doe:
dan werkt mijn slide niet ik moet t zo fixxe
dus dat wilt zeggen na elke 2e querie de weergeven zoals dit:
http://pastebin.com/mJBmzqth
code:
Bedankt, als iemand mij kan helpen sorry kan t niet beter uitleggen
Groet, Tim
ik haal een image uit de database maar ik wil dat na elke 2e query dus
<li>
<a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]locatie[/COLOR][COLOR= #007700]];[/COLOR] ?>" rel="lightbox-gallery" title="Spackspuitwerk"><img src="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]locatie[/COLOR][COLOR= #007700]];[/COLOR] ?>" width="200" height="150" alt="" /></a>
</li>
<li class="nomargin"> dan werkt mijn slide niet ik moet t zo fixxe
<li>
<a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]locatie[/COLOR][COLOR= #007700]];[/COLOR] ?>" rel="lightbox-gallery" title="Spackspuitwerk"><img src="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]locatie[/COLOR][COLOR= #007700]];[/COLOR] ?>" width="200" height="150" alt="" /></a>
</li>
<li>
<a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]locatie[/COLOR][COLOR= #007700]];[/COLOR] ?>" rel="lightbox-gallery" title="Spackspuitwerk"><img src="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]locatie[/COLOR][COLOR= #007700]];[/COLOR] ?>" width="200" height="150" alt="" /></a>
</li>
<li class="nomargin"> dus dat wilt zeggen na elke 2e querie de
http://pastebin.com/mJBmzqth
code:
[COLOR= #0000BB]<?php
$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM upload"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/while"]while[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]))
{[/COLOR]
?>
<li>
<a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]locatie[/COLOR][COLOR= #007700]];[/COLOR] ?>" rel="lightbox-gallery" title="Spackspuitwerk"><img src="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]locatie[/COLOR][COLOR= #007700]];[/COLOR] ?>" width="200" height="150" alt="" /></a>
</li>
<li class="nomargin">
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?> Bedankt, als iemand mij kan helpen sorry kan t niet beter uitleggen

Groet, Tim