
0
steave ray posted
how to override query function in mysqli
simple connection
$con = new mysqli($host, $username, $password,$dbname);
i used query function at various pages to insert update and select for .
$list="select * from projects ";
$result = $con->query($list);
now i want to override query function something like that i can store all query running at separate table
i know we can log differ way but i want to override query function .
is that possible ?