PHP ver gevorderde |
|
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/simpelscripting.be/httpdocs/admin/index.php on line 66
deze error krijg ik, het hele script werkt wel gwn, hier het stukje (60 t/m 70)
<?
}
$sql = "SELECT * FROM simpelscripts_scripts ORDER BY id DESC";
$resultaat = mysql_query($sql);
while ($rij = mysql_fetch_assoc($resultaat))
{
echo "
<tr width='100%'><td width='80%'><a href='". $rij['link'] ."'>". $rij['naam'] ."</a></td><td width='20%'>". $rij['versie'] ."</td></tr>";
echo "</table>";
<? } $sql = "SELECT * FROM simpelscripts_scripts ORDER BY id DESC"; { <tr width='100%'><td width='80%'><a href='". $rij['link'] ."'>". $rij['naam'] ."</a></td><td width='20%'>". $rij['versie'] ."</td></tr>";
|