Nieuw lid | 
                 | 
                
				
				Ik wil het aantal rijen die ik heb staan in de database weergeven, maar ik heb geen flauw hoe ik dat moet doen   
 
    
    
        
            
                <?php
$sQuery = "SELECT * FROM `VerkReacties` ORDER BY `Datum` DESC";
if(!$rRes = @mysql_query($sQuery))
{ echo 'gegevens opvragen mislukt.'; }
else
{
while($aRow = mysql_fetch_assoc($rRes))
  {
    echo "<table width=75% border=1 cellpadding=0 cellspacing=0>
  			<tr bordercolor=#000066><th width=15%><strong>".$aRow['Naam']."</strong></th>
  			<th width=82%><img src=post.gif><font size=-1> Gepost op:</font><strong> ".$aRow['Datum']."</strong></th><tr>
			<tr bordercolor=#000066><td width=15%></td>
			<td width=82% align=left>".$aRow['bericht']."</td></tr>
  		</table><br>";
  
  }
 }
?>
             
            <?php   $sQuery = "SELECT * FROM `VerkReacties` ORDER BY `Datum` DESC"; { echo 'gegevens opvragen mislukt.'; } else {   {     echo "<table width=75% border=1 cellpadding=0 cellspacing=0>   			<tr bordercolor=#000066><th width=15%><strong>".$aRow['Naam']."</strong></th>   			<th width=82%><img src=post.gif><font size=-1> Gepost op:</font><strong> ".$aRow['Datum']."</strong></th><tr> 			<tr bordercolor=#000066><td width=15%></td> 			<td width=82% align=left>".$aRow['bericht']."</td></tr>   		</table><br>";       }  }     ?> 
 
  
         
          
     
 				
				 |