Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/01/2007, 16:15
Avatar de raul manzano
raul manzano
 
Fecha de Ingreso: enero-2007
Mensajes: 38
Antigüedad: 17 años, 3 meses
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'>";
}