Overriding core functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 

 

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux