diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-28 22:53:48 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-28 22:53:48 +0000 |
commit | 6f881a9f11d80e2bc27ec5ade72ac55eaef495c6 (patch) | |
tree | 735a8f7c59ffb5d0c8f442a80c3bd9d5e92689b1 /central/trunk/includes/instadisc.php | |
parent | 9c696344683332400000e40c2c54dc98e98d947b (diff) | |
download | instadisc-6f881a9f11d80e2bc27ec5ade72ac55eaef495c6.tar.gz instadisc-6f881a9f11d80e2bc27ec5ade72ac55eaef495c6.tar.bz2 instadisc-6f881a9f11d80e2bc27ec5ade72ac55eaef495c6.zip |
Central: Added createUser()
Refs #63
Diffstat (limited to 'central/trunk/includes/instadisc.php')
-rw-r--r-- | central/trunk/includes/instadisc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/central/trunk/includes/instadisc.php b/central/trunk/includes/instadisc.php index 320ff80..99d06b1 100644 --- a/central/trunk/includes/instadisc.php +++ b/central/trunk/includes/instadisc.php | |||
@@ -98,9 +98,9 @@ function instaDisc_addItem($username, $subscription, $title, $author, $url, $sem | |||
98 | } | 98 | } |
99 | } | 99 | } |
100 | 100 | ||
101 | function instaDisc_createUser($username, $password, $email) | 101 | function instaDisc_createUser($username, $password) |
102 | { | 102 | { |
103 | $insuser = "INSERT INTO users (username, password, email) VALUES (\"" . mysql_real_escape_string($username) . "\", \"" . mysql_real_escape_string($password) . "\", \"" . mysql_real_escape_string($email) . "\")"; | 103 | $insuser = "INSERT INTO users (username, password) VALUES (\"" . mysql_real_escape_string($username) . "\", \"" . mysql_real_escape_string($password) . "\")"; |
104 | $insuser2 = mysql_query($insuser); | 104 | $insuser2 = mysql_query($insuser); |
105 | } | 105 | } |
106 | 106 | ||