Somebody please tell me. If I create some simple pager with filter i've got two queries...
1:
Select id
FROM blablabla
WHERE d="example_filter"
and in php just call rowCount() and there I'LL take num of returnin rows for my pager
2 My full select with many selected elements like:
Select id,page,title,another_elem FROM blablabla WHERE d="example_filter" LIMIT 10,20
But but this causes large load.. How I can correct it? I need to query returned an exact number of rows to fit my pager filter