- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
$qs = $this->_generateQuery();
// obtain count of items
$number_of_items = 0;
if ($qs['count'] == 'SELECT 1'): // что за ужасть??
$number_of_items = 1;
else:
$query = $qs['count'];
$res = mysql__query ( $query );
//......................................
endif;