diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-11-11 00:25:22 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-11-11 00:25:22 +0100 |
commit | 9158654dd7f2a52d25e330a8f825f8b0c44005e9 (patch) | |
tree | 0b56816b8dbacef350e6c5010dd2d48490910697 /Badges_v2.php | |
parent | 810e9cb1dcdec9048f4a2544393844651531cc75 (diff) |
Mysql config
Diffstat (limited to 'Badges_v2.php')
-rw-r--r-- | Badges_v2.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Badges_v2.php b/Badges_v2.php index f79b2f3..a449a2b 100644 --- a/Badges_v2.php +++ b/Badges_v2.php @@ -33,8 +33,8 @@ $color=$pathinfo[4]; include("Config.php"); -mysql_connect("localhost", "lastfm"); -mysql_select_db("lastfm"); +mysql_connect(MYSQL_HOST, MYSQL_USER); +mysql_select_db(MYSQL_DB); /*make cache data (array $data)*/ $res = mysql_query("SELECT * FROM users WHERE username='" . gpc_addslashes(strtolower($username)) . "'"); |