diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-29 01:14:37 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-29 01:14:37 +0000 |
commit | 386dbcc5e270df1514177dc6f2f4f7c32391d9a1 (patch) | |
tree | 515c8a1702b90d3f10f2640cf46339b9945932f2 /central/trunk/index.php | |
parent | 6f881a9f11d80e2bc27ec5ade72ac55eaef495c6 (diff) | |
download | instadisc-386dbcc5e270df1514177dc6f2f4f7c32391d9a1.tar.gz instadisc-386dbcc5e270df1514177dc6f2f4f7c32391d9a1.tar.bz2 instadisc-386dbcc5e270df1514177dc6f2f4f7c32391d9a1.zip |
Central: Completed step 6
Refs #63
Diffstat (limited to 'central/trunk/index.php')
-rw-r--r-- | central/trunk/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/central/trunk/index.php b/central/trunk/index.php index 1d85fa1..569b5f4 100644 --- a/central/trunk/index.php +++ b/central/trunk/index.php | |||
@@ -250,7 +250,7 @@ function createUser($username, $password) | |||
250 | { | 250 | { |
251 | $getuser = "SELECT * FROM users WHERE username = \"" . mysql_real_escape_string($username) . "\""; | 251 | $getuser = "SELECT * FROM users WHERE username = \"" . mysql_real_escape_string($username) . "\""; |
252 | $getuser2 = mysql_query($getuser); | 252 | $getuser2 = mysql_query($getuser); |
253 | $getuser3 = mysql_fetch_array$($getuser2); | 253 | $getuser3 = mysql_fetch_array($getuser2); |
254 | if ($getuser3['username'] == $username) | 254 | if ($getuser3['username'] == $username) |
255 | { | 255 | { |
256 | $ij = 0; | 256 | $ij = 0; |
@@ -261,7 +261,7 @@ function createUser($username, $password) | |||
261 | 261 | ||
262 | $getuser = "SELECT * FROM users WHERE username = \"" . mysql_real_escape_string($fakeUN) . "\""; | 262 | $getuser = "SELECT * FROM users WHERE username = \"" . mysql_real_escape_string($fakeUN) . "\""; |
263 | $getuser2 = mysql_query($getuser); | 263 | $getuser2 = mysql_query($getuser); |
264 | $getuser3 = mysql_fetch_array$($getuser2); | 264 | $getuser3 = mysql_fetch_array($getuser2); |
265 | if ($getuser3['username'] != $username) | 265 | if ($getuser3['username'] != $username) |
266 | { | 266 | { |
267 | $ij = 1; | 267 | $ij = 1; |