Or you can use the error_log functions within your function, instead of
fopen/fwrite/fclose.
---John Holmes...
> The easiest way to do this would be to write a wrapper function to
> mysql_query() that does the writing to the log file and also executes the
> query and returns the result set.
>
>
The easiest way to do this would be to write a wrapper function to
mysql_query() that does the writing to the log file and also executes the
query and returns the result set.
function my_mysql_query($query)
{
//assuming file would already be open...
global $fp;
$return = mysql_query(
2 matches
Mail list logo