http://www.devolusion.nl/scripten/index.php?pp=template
Weet iemand een goede tutorial over hoe ik dit op meerdere pagina's krijgen ?
Bijv pagina 1 resultaat 1 t/m 5, pagina 2 resultaat 6/10 etc
Alvast bedankt !!
edit :
mijn code
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
include('config.php');
$selecteren = "SELECT * FROM template limit 5";
$resultaat = mysql_query($selecteren);
?>
<style type="text/css">
<!--
.templateon {
background-color:#e2e8f1;
padding:4px;
height:130px;
border:1px dashed #666666;
margin-bottom:10px;}
.templateoff {
background-color:#ffffff;
padding:4px;
height:130px;
border:1px solid #FFFFFF;
margin-bottom:10px;}
</style>
<?php
while ($inhoud = mysql_fetch_object($resultaat))
{
?>
<div class="inhoud">
<table class="templateoff" onmouseover="this.className='templateon'" onmouseout="this.className='templateoff'" width="560">
<tr>
<td><table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td width="23%"><img src="<?php echo $inhoud->afbeelding; ?>" alt="<?php echo $inhoud->naam; ?>" width="120" height="120" border="1" /><br /></td>
<td width="74%"><p><strong>Template naam</strong> : <?php echo $inhoud->naam; ?><br />
<strong>Prijs</strong> : € <?php echo $inhoud->prijs; ?><br />
<strong>Beschrijving</strong> : <br />
<?php echo $inhoud->beschrijving; ?><br />
<br />
meer informatie | <a href="<?php echo $inhoud->paylink; ?>">download template</a></p></td>
</tr>
</table></td>
</tr>
</table></div><br />
<?php
}
?>