Jump to content
RF-Dev | RF Online Development
DeusEx

RF Online Website + Registration (Nice Web)

Recommended Posts

You must be a registered member of RF-Dev and logged in to view this content.

All WordPress version is able to use. Its depend from your phpmyadmin  and apache version. 

This is my old news system mechanism. Now im using my own CMS for my website page.

Share this post


Link to post
Share on other sites

I can not finish the registration. is showing error in line 177. in this section:

mssql_query(
"INSERT INTO RF_User.dbo.tbl_rfaccount (id,password,accounttype,birthdate,email) VALUES ((CONVERT(binary, '$login')), (CONVERT(binary, '$pw')),'0', '1/01/1950', '$email');"
)or die('Incorrect Query.<br /><br /><a href="/web2/index.php" class="btn btn-info">Back</a>');
echo '<div id="form-login"><ul><li><a>Congratulations, <b>'.$login.'</b>. Your account has been created.</a></li></ul></div>';
}

 

Can someone help me?

Share this post


Link to post
Share on other sites
You must be a registered member of RF-Dev and logged in to view this content.

I do not understand much about BD but I think I made the changes. now that I click on REGISTER, it goes to the main page and the database does not change. I have 14 accounts created and it remains.
In these lines, can you see something wrong?

 

{
mssql_query("insert into RF_User.dbo.tbl_rfaccount (id,password,accounttype,birthdate) values ('$login','$pw',0,2000-01-01)") or die('Ops.Algo saiu errado nesta solicitação.<br /><br /><a href="index.php" class="btn btn-info">Back</a>');
echo '<div id="form-login"><ul><li><a>Parabéns, <b>'.$login.'</b>. Sua Conta foi Criada.</a></li></ul></div>';
}

Share this post


Link to post
Share on other sites
You must be a registered member of RF-Dev and logged in to view this content.

mssql_query("insert into RF_User.dbo.tbl_rfaccount (id,password,accounttype,birthdate) values ('$login','$pw','0','2000-01-01')")

try this query.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×