summaryrefslogtreecommitdiffstats
path: root/include/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/register.php')
-rw-r--r--include/register.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/register.php b/include/register.php
index 88b13a2..0dc204d 100644
--- a/include/register.php
+++ b/include/register.php
@@ -22,10 +22,10 @@ if(myisset("Rfullname","Remail","Rpassword","Rtimezone") )
}
if($ok)
{
- $r=mysql_query("INSERT INTO User VALUES(NULL,".DB_quote_smart($_REQUEST["Rfullname"]).
- ",".DB_quote_smart($_REQUEST["Remail"]).
- ",".DB_quote_smart(md5($_REQUEST["Rpassword"])).
- ",".DB_quote_smart($_REQUEST["Rtimezone"]).",NULL,NULL)");
+ $r=DB_query("INSERT INTO User VALUES(NULL,".DB_quote_smart($_REQUEST["Rfullname"]).
+ ",".DB_quote_smart($_REQUEST["Remail"]).
+ ",".DB_quote_smart(md5($_REQUEST["Rpassword"])).
+ ",".DB_quote_smart($_REQUEST["Rtimezone"]).",NULL,NULL)");
if($r)
{