Hola nuevamanente ,dada mi necesidad me vi obligado a modificar la clase paginado de esta manera:
en la parte donde decia:
Código PHP:
$query_count = eregi_replace("select (.*) from", "SELECT COUNT(*) FROM",$query);
if(!$this->rs( @mysql_query($query_count, $this->conn()) ))
{
$this->error("Ocurrió un error al ejecutar el query <i><b>\"$query_count\"</b></i>. La base dijo : <b>".mysql_error()."</b>.");
return false;
}// Fin If
$this->total( mysql_result($this->rs(), 0) );
lo cambie por esto:
Código PHP:
// $query_count = eregi_replace("select (.*) from", "SELECT COUNT(*) FROM",$query);
if(!$this->rs( @mysql_query($query, $this->conn()) ))
{
$this->error("Ocurrió un error al ejecutar el query <i><b>\"$query_count\"</b></i>. La base dijo : <b>".mysql_error()."</b>.");
return false;
}// Fin If
$this->total( mysql_num_rows($this->rs()) );
Aparentemente esta funcionando bien, pero si alguien sabe que he echo una tonteria avisenme ya que como soy nuevo en php puedo estar comentiendo un error inconsientemente