First of all I want to congratulate the great job, classy is ...

Recommend this page to a friend!

      CSS Pagination  >  All threads  >  First of all I want to congratulate...  >  (Un) Subscribe thread alerts  
Subject:First of all I want to congratulate...
Summary:Package rating comment
Messages:2
Author:Pablo
Date:2008-10-22 11:49:25
Update:2008-10-22 12:00:41
 

Pablo rated this package as follows:

Utility: Good
Consistency: Good
Documentation: Good

  1. First of all I want to congratulate...   Reply   Report abuse  
Pablo - 2008-10-22 11:49:25
First of all I want to congratulate the great job, classy is easy to use and found no need to make many changes, except for the fact I use a different bank (Firebird), so I made a change in method ' getTotalRows () 'where the manufacturer itself the user must indicate the bank that will be used: mysql or Firebird. As the Firebird does not have a function similar to mysql_num_rows mysql sent as the parameter $conex to find the number of columns.

  2. Re: First of all I want to congratulate...   Reply   Report abuse  
Pablo - 2008-10-22 12:00:42 - In reply to message 1 from Pablo


private function getTotalRows()
{
if ($this->bank == 'firebird'){
$result = ibase_query($this->conex,$this->sql);
$row = ibase_fetch_object($result);
$this->totalrows = $row->COUNT;
}else{
$result = @mysql_query($this->sql) or die ("query Filed!"); $this->totalrows = mysql_num_rows($result);
}

}

 

For more information send a message to info at phpclasses dot org.