|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Minimize the cost of deploying database applications. Advantage Database Server or Microsoft SQL Server – Which One is Right for You? Learn now! |
|
#1
|
|||
|
|||
|
"Page generated in..."
I see on some php pages they have something like "Page generated in 0.00126 secs with x SQL queries", how can I also put something like that on my site?
__________________
![]() ![]() "Only Linux users see the end of crashes." - Pl4t0 |
|
#2
|
|||
|
|||
|
PHP Code:
(think I grabbed this off zend.com somewhere) and for the number of sql queries, I think you have to count them yourself.. increase a number after each query.. for example like this: PHP Code:
Hope this helps you
__________________
Best Regards, Håvard Lindset Last edited by Lindset : July 19th, 2002 at 09:36 AM. |
|
#3
|
|||
|
|||
|
Where I want the microtime do I just do getmicrotime(); ?
|
|
#4
|
|||
|
|||
|
wait nevermind, i didn't read the code thoroughly, thx
![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > "Page generated in..." |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|