How to?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

How to?

Post by hob_goblin »

at the bottom of some forum i saw:

(83.88% PHP - 16.12% MySQL) with 16 queries.

how would i do that?
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

I'm not sure what the point of that would be, but my only guess would be to parse the entire file for total # of characters minus HTML blocks, parse for mysql queries and their total # of characters, and then figure out the percentages with basic mathematics. Sounds like a waste of time to me - just put some random percentages on the bottom of your pages.... no one will know ;)
Post Reply