Muchas gracias... toy casi seguro de que toy muy cerca... con lo que me dijiste que haga me funcione bien, cuando 1 es un valor constante, pero si es una variable... pasa lo siguiente:
Código PHP:
$cadena2 = "tiempo not like CONVERT(_utf8'" .$valor. "'USING latin1) COLLATE latin1_swedish_ci";
$pasa_tiempo = urlencode("$cadena2");
echo "<th scope=col><a href='$PHP_SELF?pg=".$url."&tiempo= ".$pasa_tiempo."'><FONT COLOR='blue'>Siguiente »</a></th>";
Al recuperar en la pagina "resultados.php", la variable tiempo la lee asi:
"tiempo not like CONVERT(_utf8\'1\'USING latin1) COLLATE latin1_swedish_ci"
Y deberia ser:
"tiempo not like CONVERT(_utf8 '1' USING latin1) COLLATE latin1_swedish_ci"
___________
Ya que al tratar de ejecutarla en mysql, me dice:
Invalid query: 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 '\'1\'USING latin1) COLLATE latin1_swedish_ci LIMIT 3, 3' at line 1
MUCHAS GRACIAS... SABRAS QUE ES?