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 revision
Previous revision
Next revisionBoth sides next revision
reference:connect [2015/12/04 17:01] mnewnhamv5:reference:connect [2016/01/13 02:30] – ↷ Page moved from reference:connect to v5:reference:connect mnewnham
Line 3: Line 3:
 <WRAP right box> <WRAP right box>
 == See Also == == See Also ==
-[[database:connection_matrix|The Connection Matrix]]+[[v5:database:connection_matrix|The Connection Matrix]]
 == Syntax == == Syntax ==
    mixed connect(    mixed connect(
Line 20: Line 20:
 |  $hostName    $userId      $password    $database   | |  $hostName    $userId      $password    $database   |
  
-However the actual values of the parameters for some databases are such that the actual requirements can be confusing. See the [[database:connection_matrix|Connection Matrix]] for assistance.+However the actual values of the parameters for some databases are such that the actual requirements can be confusing. See the [[v5:database:connection_matrix|Connection Matrix]] for assistance.
  
 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.
v5/reference/connection/connect.txt · Last modified: 2023/05/07 10:37 by dregad