ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:userguide:learn_abstraction:establishing_connection

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
v5:userguide:learn_abstraction:establishing_connection [2016/03/15 14:46] mnewnhamv5:userguide:learn_abstraction:establishing_connection [2016/03/15 17:26] – [Establishing A Connection] dregad
Line 2: Line 2:
 ~~NOTOC~~ ~~NOTOC~~
 ====== Establishing A Connection ====== ====== Establishing A Connection ======
-Before interacting with data, a connection needs to be first established to the database. The parameters required to connect to the database are the same as when using a direct PHP connection. For detailed information about connections see [[v5:reference:connection:connect|connect()]]+Before interacting with data, a connection needs to be first established to the database. The parameters required to connect to the database are the same as when using a direct PHP connection. For detailed information about connectionssee [[v5:reference:connection:connect|connect()]].
  
 ===== Selecting A Driver ===== ===== Selecting A Driver =====
Line 36: Line 36:
   $db->debug = true;   $db->debug = true;
  
-The earliest that it can be set is after the creation of the ''$db'' connection object. It can also be switched on or off as required. For more information, see [[v5:userguide:debugging|Debugging]].+The earliest that it can be set is after the creation of the ''$db'' connection object. It can also be switched on or off as required. For more information, see [[v5:userguide:debug|Debugging Guide]].
    
v5/userguide/learn_abstraction/establishing_connection.txt · Last modified: 2016/03/15 17:31 by dregad