logging sql queries
- Single Page
Posted 13 January 2013 - 16:49 PM
Posted 14 January 2013 - 07:35 AM
Posted 14 January 2013 - 17:35 PM
Posted 21 January 2013 - 22:26 PM
Posted 24 January 2013 - 19:21 PM
Find in that file for: "function db_update($post_array, $primary_key_value)"
And add so in insert, delete methods.
Just take care to put it in the begining of the method. Otherwise, it will not work your n to n relations, because grocery use the last ID inserted, and then the last ID inserted will be from your log table, not from the table related in a n to n relarion.
* See the picture attached, some idea of how do it.
Posted 24 January 2013 - 23:29 PM
You can change this library as you like )