/ Published in: PHP
Replace all mysql_query() calls in your project to debug_mysql_query() to see all mysql queries in Firebug console.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function debug_mysql_query($query) { echo '<script>console.log("'.$js_query.'");</script>'."\n"; } }