Overriding core functions
| From: | Peter Lauri | Date: | Tue, 22 Aug 2006 11:39:07 +0000 |
| Subject: | Overriding core functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-240986@lists.php.net to get a copy of this message | ||
Hi,
I want to add some functionality when calling the mysql_query():
function mysql_query($Query) {
//do stuff before
mysql_query($Query);
//do things after
}
This would just be for one project where I want to record all Queries and
the result of them, creating an own logging function.
I did a lot of Google, but no article that I found that take care of this
subject.
/Peter