![]() |
AddNew User Into........
I Build A Nifty Little Shoping Cart, And It Has It's Own Member Management System, But I Wanted To Add A Small Code To Add The User Into The VB3 Database, But My SQL Query Must Be Wrong.... Or Something. Worked Great In Vb2.3.3.
Code:
$query="INSERT INTO user (usergroupid,username,password,passworddate,email,styleid,usertitle,salt,daysprune,reputation,pmpopup,startofweek,pmtotal,pmunread,threadedmode,autosubscribe,maxpost,referrerid,birthday_search,option,autosubscribe) VALUES ('$usergroupid','$username','$saltedpassword','$transactiondate','$email','0','$title','$salt','0','10','1','1','0','0','0','-1','-1','0','0000-00-00','6487','-1')"; |
Wrong area.
|
*moved*
|
Anybody?
|
Are you getting any errors ?
Or is it just not inserting? |
Not Inserting.
|
Heres Some The Info:
Code:
$membershipstatus="Active"; |
Well I Got That Fixed... Next Problem Is, Am I Doing The Password Encoding Correctly?
Code:
$nomd5pass=$HTTP_POST_VARS['mvc_PASSWORD']; |
Ok I Think I Got The Passwird Thing Worked Out. But VBull. Is Saying The Password Is Wrong Or The User Name Is Invalid.... :(
Heres The Entire Code. Code:
//POST Vars. |
Did I Ask To Hard Of A Question? It Must Be Simple For You Advace Coders ;)
|
All times are GMT. The time now is 08:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|