Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
Originally Posted by evans123
yeah but i have to execute the queries using that function!
|
Yep. The trick is that you must wrap the mysql_query() call into another function.
It's that function that will both increment the query count and fire the query and return the result to the caller.
To mimic the original way of mysql_query()
__________________
Only a biker knows why a dog sticks his head out the window.
|