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 revision Previous revision
v5:reference:connection:connect [2016/01/16 23:07]
mnewnham ↷ Page moved from v5:reference:connect to v5:reference:connection:connect
v5:reference:connection:connect [2016/09/21 14:34] (current)
dregad [Usage] fix code sample
Line 30: Line 30:
 /* /*
  ​* ​ Example using MySQL   ​* ​ Example using MySQL 
-*/+ */
 include '​adodb.inc.php';​ include '​adodb.inc.php';​
 /* /*
Line 40: Line 40:
  * Make a connection to a database on the local machine  * Make a connection to a database on the local machine
  */  */
-$db->​connect('','​user','​password'​.'​employees'​);​+$db->​connect('',​ '​user',​ '​password'​'​employees'​);​
  
-/* 
- ​* ​ 
- */ 
 </​code>​ </​code>​
v5/reference/connection/connect.txt · Last modified: 2016/09/21 14:34 by dregad