Hier ist die fehler meldung
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in d:\techplat\apache\htdocs\includes\wars1.php on line 32
und hier is der code aus der gesagten .php
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in d:\techplat\apache\htdocs\includes\wars1.php on line 32
und hier is der code aus der gesagten .php
Code:
<?
if (!isset($_GET['id'])){
$mysql_war = mysql_query("select name, spiel, id from clanwars1 where spiel = 'Counter Strike' order by name desc");
while ($war = mysql_fetch_row($mysql_war)){
echo "
<table width='500' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%' height='37' background='images/bckTitels.jpg'>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td width='41'><img src='images/Logo_Mini.jpg' width='41' height='37'></td>
<td width=\"288\" class='topic'><strong>.: $war[0]<br>
</strong>
<div class='plus1'>
<div class='plus1'> spiel: $war[1]<strong><br>
</strong></div>
</div>
</td>
</tr>
</table></td>
</tr>
<tr>
<td width='100%' style='border: 1 solid #FFFFFF'>
<table width='498' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td>";
$mysql_wars = mysql_query("select datum, gname, squad, id from clanwars where spiel = 'Counter Strike' order by name desc");
while ($wars = mysql_fetch_row($mysql_wars)){
echo "<table width='490' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td width='65' valign='top'>";
if (!empty($wars[1])){
echo "<a href='index.php?do=cs&id=$wars[3]'></a><br />";
}
echo "
</td>
<td width='262' valign='top'><a href='index.php?do=cs&id=$wars[0]'>Blackstorm | $wars[1]</a></td>
<td width='163' valign='top'>$wars[2]</td>
</tr>
<tr>
<td valign='top'> </td>
<td valign='top'></td>
<td valign='top'></td>
</tr>
</table>";
}
echo "
</td>
</tr>
</table></td>
</tr>
</table><br />";
}
}
?>