Re: Prepared statements and printing Queries

2009-10-21 Thread Joeri De Backer
Hello,

mysqli_debug will help you, I think.
See: http://php.chinaunix.net/manual/zh/function.mysqli-debug.php

Joeri

On Tue, Oct 20, 2009 at 5:26 PM, Chris W <4rfv...@cox.net> wrote:
>
> I know this is more a PHP question but no one on the list at news.php.net is 
> responding.  So I was hoping someone here might know.
>
> If I am using the mysqli extension and prepared statements, after I execute 
> bind_param, is there a away to print the actual query that gets sent to the 
> server? I have looked through the PHP docs and can't seem to find it.  Of 
> course I could be blind.
>
> Chris W
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=fons...@gmail.com
>

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



Prepared statements and printing Queries

2009-10-20 Thread Chris W
I know this is more a PHP question but no one on the list at 
news.php.net is responding.  So I was hoping someone here might know.


If I am using the mysqli extension and prepared statements, after I 
execute bind_param, is there a away to print the actual query that gets 
sent to the server? I have looked through the PHP docs and can't seem to 
find it.  Of course I could be blind.


Chris W

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org