Error en la consulta de conteo de registros: Resource id #4. Mysql dijo: 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 'Resource id #4' at line 1
Mi sintaxis es esta:
Código PHP:
include "php/comentarios/conexion_mysql.php";
$_pagi_sql=mysql_query("SELECT id, ruta, id_foto, titulo, descripcion FROM publicaciones");
include("paginador/paginator.inc.php");
while ($x = mysql_fetch_array($_pagi_result)){ ....}