$step){ $page_content .= "
"; $page_content .= "[ Principio ] "; $stop=(ceil($count / $step)-1); if($stop>10){ $stop=10; } for($x=1;$x<=$stop;$x++){ $new_step = $step * $x; if ( $x == $mostrando ) { $page_content .= "[ ".$x." ] "; } else { $page_content .= "[ ".$x." ] "; } } if(($pos+$step)<=$count){ $page_content .= "[ Siguiente ] "; } $page_content .= "
".$count." referencias encontradas en esta categoría.
"; $page_content .= ""; } if(!$pos){ $pos=0; } ?>
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '10' at line 1 in /home/esf000/horizonteflamenco.com/dir/sites.php:9 Stack trace: #0 /home/esf000/horizonteflamenco.com/dir/sites.php(9): mysqli_query() #1 /home/esf000/horizonteflamenco.com/dir/index.php(120): include('/home/esf000/ho...') #2 /home/esf000/horizonteflamenco.com/includes/directorio.inc(5): include('/home/esf000/ho...') #3 /home/esf000/horizonteflamenco.com/index.php(106): include('/home/esf000/ho...') #4 {main} thrown in /home/esf000/horizonteflamenco.com/dir/sites.php on line 9