Hello,
i have try it, but when i was calling the shop, firefox give me the error:
Error in the codificacion of the content
The page wich you are trying to visualize can not be show caus you are using a format of compression not valid o admit
Maybe i wrote something wrong, here the script after edit:
function xtc_db_num_rows($db_query,$cq=false) {
if (DB_CACHE=='true' && $cq) {
if (!count($db_query)) return false;
return count($db_query);
} else {
//if (!is_array($db_query)) return mysql_num_rows($db_query);
echo "DB_QUERY = ".$db_query;
}