v5:reference:connection:connect
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
reference:connect [2015/12/04 17:01] – mnewnham | v5: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: | + | [[v5:database: |
== Syntax == | == Syntax == | ||
mixed connect( | mixed connect( | ||
Line 20: | Line 20: | ||
| $hostName | | $hostName | ||
- | However the actual values of the parameters for some databases are such that the actual requirements can be confusing. See the [[database: | + | However the actual values of the parameters for some databases are such that the actual requirements can be confusing. See the [[v5:database: |
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