Results 1 to 4 of 4
I'm running Fedora and I would like to know how to determine what query is sent to SQL via a web page written in PHP. I'm fairly new to mySQL ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-31-2009 #1
[SOLVED] PHP and mySQL
- 04-01-2009 #2
The easiest way is probably to grep through your php pages for user of the 'mysqli' class, and put logging in where it calls the mysqli instance's 'query' method.Linux user #126863 - see http://linuxcounter.net/
- 04-01-2009 #3
It might be mysql rather than mysqli especially if the code is olderWhat do we want?
When do we want 'em?
Doesn't really matter does it!?
Conkybots: Interactive plugins for your Conkys!
- 04-02-2009 #4
thank you for your replies. I was able to obtain the queries grep-ing for mysql. Turns out that they used Java, PHP, and mySQL.