Warning: mysql_result(): supplied argument is not a valid MySQL result resource in c:\appserv\www
les anexo el codigo para que porfavor me ayuden gracias de antemano a cualquier aporte...........
Código PHP:
<?php
$conexion = mysql_connect('localhost', 'root', '');
mysql_select_db('noticias', $conexion);
$que="select descripcion,fecha,ciudad from evento";
$res = mysql_query($que);
echo $numregistros=mysql_numrows($res);
$i=0;
while ($i < $numregistros)
{
$Opcion=mysql_result($resultado,$i,descripcion);
$Opcion1=mysql_result($resultado,$i,fecha);
$Opcion2=mysql_result($resultado,$i,ciudad);
$url='elimina.php'
?>
<tr>
<td>¬ <a href="<?echo $url;?>" TARGET="Principal">
<?echo $Opcion;?><br><br>
<?echo $Opcion1;?><br><br>
<?echo $Opcion2;?><br><br> </B></td>
</tr>
<?
$i++;
}
?>