From: <le...@us...> - 2002-08-10 11:51:45
|
Update of /cvsroot/meshdb/www/deal In directory usw-pr-cvs1:/tmp/cvs-serv357 Modified Files: index.php Log Message: use MYSQLPASS and MYSQLDB Index: index.php =================================================================== RCS file: /cvsroot/meshdb/www/deal/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- index.php 10 Aug 2002 03:11:58 -0000 1.1.1.1 +++ index.php 10 Aug 2002 11:51:42 -0000 1.2 @@ -21,8 +21,8 @@ exit; } - $db = mysql_connect($MYSQLHOST, $MYSQLUSER); - mysql_select_db("mesh", $db) or die(mysql_error($db)); + $db = mysql_connect($MYSQLHOST, $MYSQLUSER, $MYSQLPASS); + mysql_select_db($MYSQLDB, $db) or die(mysql_error($db)); if ($op == "deletedeal") { $id = intval($id); |