> hi
>
> i need a solution for counting total sql queries in a page ...
>
> plz help
>
> thanks
>
>
Hi,
Look at Zend_Db_Profiler :
|$profiler = $db->getProfiler();
||$queryCount = $profiler->getTotalNumQueries();
--
Thanks Yaroslav Vorozhko
Blog: http://pro100pro.com
LinkedIn: http://www.linkedin.com/in/vorozhko
|
没有评论:
发表评论