ik krijg deze fouten
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/id02117/domains/crime-ware.nl/public_html/i-photo/all.php on line 46
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/id02117/domains/crime-ware.nl/public_html/i-photo/all.php on line 69
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/id02117/domains/crime-ware.nl/public_html/i-photo/all.php on line 92
dit is het script
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/id02117/domains/crime-ware.nl/public_html/i-photo/all.php on line 46
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/id02117/domains/crime-ware.nl/public_html/i-photo/all.php on line 69
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/id02117/domains/crime-ware.nl/public_html/i-photo/all.php on line 92
dit is het script
PHP:
<?
include("config.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title></title>
</head>
<body>
<table summary="" width="100%">
<tr>
<td>
<?
if(isset($_GET['all'])){
?>
<B>Category Dir: /upload/</b><br /><br />
</td>
</tr>
<tr>
<?
$select = mysql_query("SELECT * FROM `last` ORDER BY url");
echo "<ol>";
while($list = mysql_fetch_object($select)) {
echo "</tr><tr><td><li><b><font color=\"#000000\"> <a href=\"http://crime-ware.nl/i-photo/upload/{$list->url}\" target=\"_blank\">$list->url<br></td></tr>";
}
echo "</ol>";
?>
</td>
<?
exit;
}
?>
</table>
</body>
</html>
<?
if(isset($_GET['sof'])){
?>
<B>Category Dir: /upload/Software</b><br /><br />
</td>
</tr>
<tr>
<?
$select = mysql_query("SELECT * FROM `last` ORDER BY `url` Where `cat`='1'");
echo "<ol>";
while($list = mysql_fetch_object($select)) {
echo "</tr><tr><td><li><b><font color=\"#000000\"> <a href=\"http://crime-ware.nl/i-photo/upload/{$list->url}\" target=\"_blank\">$list->url<br></td></tr>";
}
echo "</ol>";
?>
</td>
<?
exit;
}
?>
</table>
</body>
</html>
<?
if(isset($_GET['im'])){
?>
<B>Category Dir: /upload/images</b><br /><br />
</td>
</tr>
<tr>
<?
$select = mysql_query("SELECT * FROM `last` ORDER BY `url` WHERE `cat`='2'");
echo "<ol>";
while($list = mysql_fetch_object($select)) {
echo "</tr><tr><td><li><b><font color=\"#000000\"> <a href=\"http://crime-ware.nl/i-photo/upload/{$list->url}\" target=\"_blank\">$list->url<br></td></tr>";
}
echo "</ol>";
?>
</td>
<?
exit;
}
?>
</table>
</body>
</html>
<?
if(isset($_GET['mu'])){
?>
<B>Category Dir: /upload/music</b><br /><br />
</td>
</tr>
<tr>
<?
$select = mysql_query("SELECT * FROM `last` ORDER BY `url` WHERE `cat`='3'");
echo "<ol>";
while($list = mysql_fetch_object($select)) {
echo "</tr><tr><td><li><b><font color=\"#000000\"> <a href=\"http://crime-ware.nl/i-photo/upload/{$list->url}\" target=\"_blank\">$list->url<br></td></tr>";
}
echo "</ol>";
?>
</td>
<?
exit;
}
?>
</table>
</body>
</html>
Laatst bewerkt: