|
You could probably just set a session variable, and every time a query is executed, increment the session variable. (while loops do multiple queries)
I've never really done this before, so I might be mistaken.
also, while we're in here, maybe somebody can tell me how to check how efficient the queries are running or whatnot. The time it takes to query, etc. All the stuff you would want to know.
|