![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/01/2007, 16:15
|
![Avatar de raul manzano](http://static.forosdelweb.com/customavatars/avatar164243_2.gif) | | | Fecha de Ingreso: enero-2007
Mensajes: 38
Antigüedad: 18 años, 1 mes Puntos: 0 | |
Fallo en paginacion Podrias decirme cual es el fallo en este script, la parte en negrita no me funciona si lo quiro si; me aparece este error "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-10,10' at line 1"
if ($busqueda==0)
{ $pga <> 0;
$urla = $pga - 1;
echo "<a class='Estilo44' style='text-decoration:none' href=' adultos.php?pg=".$urla."?votar=$codigo'><img src='../imagenes/vota.gif' width='110' height='18' border='0'></a>";
}
elseif($busqueda==1)
{
echo "<img src='../imagenes/votada.gif' width='110' height='18' border='0'>";
} |