Debug Tracing

From: Date: Mon, 25 Apr 2005 10:58:59 +0000
Subject: Debug Tracing
Groups: php.windows 
Request: Send a blank email to php-windows+get-25913@lists.php.net to get a copy of this message
I am using Windows version 5.0.3 of PHP running on an XP workstation. I can't get the pg_trace function to work properly. Here is a code snip: $res = pg_trace("C:/PostgreSQLDevHndbk/tmp/trace-log.log", w, $conn); $sql = "SELECT * FROM customer"; $result = pg_exec($conn, $sql); $rows = pg_numrows($result); for ($i = 0; $i < $rows; $i++) { $myarray = pg_fetch_row($result, $i); echo ("Array: $myarray[2] - $myarray[3]<br>\n"); } $res = pg_untrace($conn); The trace-log.log file is generated but is empty. What am I doing wrong?

« previous php.windows (#25913) next »