ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:connect

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
reference:connect [2015/07/26 03:58] mnewnhamreference:connect [2015/07/26 04:46] mnewnham
Line 23: Line 23:
 If the connection is made, $db becomes a database connection object that can be used until the script ends. If the connection fails, the value is set to false. If the connection is made, $db becomes a database connection object that can be used until the script ends. If the connection fails, the value is set to false.
  
 +To debug the connection, set the value '' $db->debug = true; '' before calling the '' $db->connect '' statement
 ------------------------------------------ ------------------------------------------
 ===== Usage ===== ===== Usage =====
v5/reference/connection/connect.txt · Last modified: 2023/05/07 10:37 by dregad