Changeset 5006 for trunk/include/dblayer
- Timestamp:
- Feb 28, 2010, 10:11:23 PM (14 years ago)
- Location:
- trunk/include/dblayer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_mysql.inc.php
r4929 r5006 35 35 function pwg_db_connect($host, $user, $password, $database) 36 36 { 37 $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', true);38 mysql_select_db($database, $link) or my_error('mysql_select_db', true);37 $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', false); 38 mysql_select_db($database, $link) or my_error('mysql_select_db', false); 39 39 40 40 return $link; -
trunk/include/dblayer/functions_pgsql.inc.php
r4892 r5006 50 50 $password, 51 51 $database); 52 $link = pg_connect($connection_string) or my_error('pg_connect', true);52 $link = pg_connect($connection_string) or my_error('pg_connect', false); 53 53 54 54 return $link;
Note: See TracChangeset
for help on using the changeset viewer.