Hallo,
Ik gebruik deze code:
Nu wordt alles in 1 rei naar onder weergegeven.
Wie zou voor mij het kunnen maken dat er 2 naatst elkaar staan?
Mvg
Ik gebruik deze code:
<script type="text/javascript">
$(function() {
$(#gallery a).lightBox();
});
</script>
</head>
<div id="gallery">
[COLOR= #0000BB]<?php
$getItems[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM krantenknipsels ORDER BY datum"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/while"]while[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$item[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$getItems[/COLOR][COLOR= #007700]))
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]<center>[/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$item[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]<br>
<a href="krantenknipsels/[/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$item[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]image[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" title="[/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$item[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]">
<img src="krantenknipsels/[/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$item[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]image[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" width="72" height="72" alt="" /></center>
</a>
[/COLOR][COLOR= #007700];
}[/COLOR]
?>
</div> Nu wordt alles in 1 rei naar onder weergegeven.
Wie zou voor mij het kunnen maken dat er 2 naatst elkaar staan?
Mvg