Changeset 5006 for trunk/include/dblayer/functions_mysql.inc.php
- Timestamp:
- Feb 28, 2010, 10:11:23 PM (14 years ago)
- File:
-
- 1 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;
Note: See TracChangeset
for help on using the changeset viewer.