Jump to content
MakeWebGames

[mccode] Personal Detals for v2.0


Ghetto

Recommended Posts

  • 2 weeks later...
  • Replies 50
  • Created
  • Last Reply

Top Posters In This Topic

  • 6 months later...

Re: [mccode] Personal Detals for v2.0

actually one error i get this

Mccodes Version 2

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'nothere'), 1, 100, 0, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, 'Male', unix_ti' at line 1

Query was INSERT INTO users (username, login_name, name, last, age, aog, msn, aim, aol, yahoo, personal, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( 'nothere', 'nothere', '', '', '', '', '', '', '', '', 'ON md5('nothere'), 1, 100, 0, 0, 1, 12, 12, 100, 10

can anyone help i tried quite a lot of things

Link to comment
Share on other sites

Re: [mccode] Personal Detals for v2.0

$db->query("INSERT INTO users (username, login_name, name, last, age, aog, msn, aim, aol, yahoo, personal, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( '{$username}', '{$username}', '{$_POST['name']}', '{$_POST['last']}', '{$_POST['age']}', '{$_POST['aog']}', '{$_POST['msn']}', '{$_POST['aim']}', '{$_POST['aol']}', '{$_POST['yahoo']}', '{$_POST['personal']} md5('{$_POST['password']}'), 1, $sm, 0, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$IP', '$IP')");

$i=$db->insert_id();

thats the part of the code thats wrong and i think its because of the order can someone correct it please

Link to comment
Share on other sites

Re: [mccode] Personal Detals for v2.0

To get back on topic!...

FOR V1

-------------------------

Preferences addition

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Register.php query change

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Everything else remains the same!

Link to comment
Share on other sites

Re: [mccode] Personal Detals for v2.0

(QUERY ERROR: Unknown column 'name' in 'field list'

Query was UPDATE users SET name='Gulley ', last='------', age='------------', aog='----------------', msn='------------------', aim='---------------------', aol='------------------', yahoo='---------------' WHERE userid=1 ) Comes Up on Mine When i Do It and The Profile Signture Dose Not Work Just When i Click On Profile Signature Just Refresh The Page But No Chnage Then Come up So You Can't Add Profile Signature And The Profile Signature Dose Not work MTG Can u Have a Look Bud thanks If You Can Fix Both :-)

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...