Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\appserv\www\mis\sk\combates\mostrar.php on line 13
el codigo:
Código PHP:
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?
$combates="SELECT * FROM combates";
$en=mysql_query($combates);
$en3a="select * from combates WHERE resumen='a'";
?>
En total hemos jugado <? $en2=mysql_num_rows($en);echo $en2; ?> partidos. Hemos ganado <? $en3=mysql_num_rows($en3a); echo $en3; ?>
<?
while ($enn=mysql_fetch_array($en)){
?>
<? } ?>
</body>
</html>