Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\phpMyAdmin\Consultar4.php on line 15
aki esta mi codigo
Código
<html>
<body>
<center>
<h1>Consulta las planilla</h1>
<?php
$connect = mysql_connect("localhost", "root", "")or die ("No fue posible efectuar la conexión..."); //Abre una conexión a un servidor
mysql_select_db("expediente", $connect) or die ("No se pudo seccionar la base de datos..."); //Activa una base de datos MySql
$query = "select * from procesada order by codigo";
echo "<table border=2 bordercolor=red>";
echo "<th>Codigo</th><th>Guarderia</th><th>Reembolso</th><th>Carta aval</th><th>Reembolso</th><th>SLRS</th><th>Cursos Realizados</th><th>Cantidad</th><th>Fecha</th>";
{
echo "<tr><td>$REG[codigo]</td>
<td>$REG[guarderias]</td>
<td>$REG[reembolso]</td>
<td>$REG[cartaval]</td>
<td>$REG[reembolso]</td>
<td>$REG[slrs]</td>
<td>$REG[curso]</td>
<td>$REG[cantidad]</td>
<td>$REG[fecha]</td></tr>";
}
echo "</table>";
?>
<a href="http://localhost/Insertar4.php">Insertar Registro</a>
<a href="http://localhost/Modificar4.php">Modificar Registro</a>
<input type=button value="Eliminar" onclick=eliminar()>
<script>
function eliminar(){
location="http://localhost/Eliminar4.php";
}
</script>
</center>
</body>
</html>
muchas gracias de antemano
 necesito ayuda lo mas pronto posible
 necesito ayuda lo mas pronto posible 


 
  




 Autor
 Autor
		


 En línea
									En línea
								







