Código PHP:
56 <?php
57 mysql_connect("localhost","root","");
58 $consulta = "select valor from valorreal where año=2008 AND mes='Enero' AND tipo='Real'";
59 $resultado = mysql_query("sistema", $consulta);
60 ?>
...
<td> <?php echo $fila["valor"] ?> </td>
Warning: mysql_query() expects parameter 2 to be resource, string given in C:\wamp\www\sistema\Gastos.php on line 59
qué podrá ser?
saludos