ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:userguide:debug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
reference:debug [2015/11/23 00:37] – created mnewnhamreference:debug [2015/11/23 00:53] – [Limitations] mnewnham
Line 4: Line 4:
 <WRAP right box> <WRAP right box>
 == Syntax == == Syntax ==
-  $connection->debug = true;+  $connection->debug = boolean;
 </WRAP> </WRAP>
  
Line 14: Line 14:
 <code php> <code php>
 include '/dev/access/adodb-master/adodb.inc.php'; include '/dev/access/adodb-master/adodb.inc.php';
-$conn = newAdoConnection('access');// +$conn = newAdoConnection('access'); 
-$conn->connect('northwind');   # connect to MS-Access, northwind DSN+$conn->connect('northwind');
 $conn->debug = true; $conn->debug = true;
 +/*
 +* Invalid syntax in select statment/
 +*.
 $recordSet = $conn->Execute('select * from product'); $recordSet = $conn->Execute('select * from product');
 </code> </code>
Line 46: Line 49:
   * Historically, the output messages were coded to be sent to a web page and some contain formatting that may make the messages more difficult to read.   * Historically, the output messages were coded to be sent to a web page and some contain formatting that may make the messages more difficult to read.
   * Some drivers, the SQL server driver in particular, produce overwhelming volumes of debugging information.   * Some drivers, the SQL server driver in particular, produce overwhelming volumes of debugging information.
 +
 +{{tag>[debugging]}}
v5/userguide/debug.txt · Last modified: 2024/01/09 11:20 by dregad