strlen($busqueda)){ unset($busqueda); } //////////// para la paginación //////////////////////// require_once('pagination.class.php'); if(isset($_GET['page']) and is_numeric($_GET['page']) and $page = $_GET['page']){ $limit = " LIMIT ".(($page-1)*$items).",$items"; }else{ $limit = " LIMIT $items"; } ///////////////////////////////////////////////////////// ?>