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'>";
}