dementor Posted October 7, 2007 Share Posted October 7, 2007 Re: [mccode] Personal Detals for v2.0 then fix it you donut cant expect everything done for u Quote Link to comment Share on other sites More sharing options...
ronhouston Posted October 16, 2007 Share Posted October 16, 2007 Re: [mccode] Personal Detals for v2.0 I Tried to add this into my Game it dint work oh well :x Quote Link to comment Share on other sites More sharing options...
dementor Posted October 17, 2007 Share Posted October 17, 2007 Re: [mccode] Personal Detals for v2.0 it works fine u do need to tweak it a bit for it to make sense though Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted May 6, 2008 Share Posted May 6, 2008 Re: [mccode] Personal Detals for v2.0 works perfect with my adjustments Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted May 6, 2008 Share Posted May 6, 2008 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 Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted May 7, 2008 Share Posted May 7, 2008 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 Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 9, 2008 Share Posted May 9, 2008 Re: [mccode] Personal Detals for v2.0 With a quick skim-read through - that query appears to be correct. Quote Link to comment Share on other sites More sharing options...
SaMz Posted May 10, 2008 Share Posted May 10, 2008 Re: [mccode] Personal Detals for v2.0 what is the correct query for the register page i get an error.... im a starter with coding Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 11, 2008 Share Posted May 11, 2008 Re: [mccode] Personal Detals for v2.0 I've just spotted the error! xD '{$_POST['personal']} needs to be '{$_POST['personal']}' Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 11, 2008 Share Posted May 11, 2008 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! Quote Link to comment Share on other sites More sharing options...
gulley Posted May 12, 2008 Share Posted May 12, 2008 Re: [mccode] Personal Detals for v2.0 Hey MTG Can u Do Me a favor And Can u Do IT For Mine I Can Of Did An Error On 500 Interal Server Error :? :? :? :? lol can u fix it thanks Gulley Quote Link to comment Share on other sites More sharing options...
gulley Posted May 12, 2008 Share Posted May 12, 2008 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 :-) Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 12, 2008 Share Posted May 12, 2008 Re: [mccode] Personal Detals for v2.0 You need to add in the SQL! Quote Link to comment Share on other sites More sharing options...
gulley Posted May 12, 2008 Share Posted May 12, 2008 Re: [mccode] Personal Detals for v2.0 Can u Add it Because i Dont No Because Dont have the Sql Can u go on msn just makes it bit easyer to talk Quote Link to comment Share on other sites More sharing options...
Tezza` Posted May 17, 2008 Share Posted May 17, 2008 Re: [mccode] Personal Detals for v2.0 lawl, learn to internet dude... www.php.net read on how to program, if you can add SQL dont make a game. Quote Link to comment Share on other sites More sharing options...
jamboy1 Posted May 30, 2008 Share Posted May 30, 2008 Re: [mccode] Personal Detals for v2.0 The mod simply doesn't work for me, why? Quote Link to comment Share on other sites More sharing options...
morgan1122 Posted December 24, 2010 Share Posted December 24, 2010 All Works then i get to userlist.php and i get the error below Parse error: syntax error, unexpected '<' in /home/corrupt1/public_html/viewuser.php on line 110 Quote Link to comment Share on other sites More sharing options...
SilvaTungDevil Posted December 24, 2010 Share Posted December 24, 2010 Post up line 109 and 110 :) Quote Link to comment Share on other sites More sharing options...
morgan1122 Posted December 24, 2010 Share Posted December 24, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This is from lines 108 to 112 Please help Quote Link to comment Share on other sites More sharing options...
Dominion Posted December 24, 2010 Share Posted December 24, 2010 I would assume it’s due to you closing an echo/print on line two of what you posted, and then not reopening one. You seem to close it again on line five... Quote Link to comment Share on other sites More sharing options...
morgan1122 Posted December 24, 2010 Share Posted December 24, 2010 So what should i change it to Dom Quote Link to comment Share on other sites More sharing options...
Dominion Posted December 24, 2010 Share Posted December 24, 2010 So what should i change it to Dom Well open an echo/print or remove where it’s closed before hand... Quote Link to comment Share on other sites More sharing options...
Adrian Posted December 24, 2010 Share Posted December 24, 2010 echo "Enemies: {$r['enemy_count']} </td> <td> Friends: {$r['friend_count']} Enemies: {$r['enemy_count']} </td> <td>"; Try that :) Quote Link to comment Share on other sites More sharing options...
morgan1122 Posted December 28, 2010 Share Posted December 28, 2010 Parse error: syntax error, unexpected T_STRING in /home/corrupt1/public_html/viewuser.php on line 108 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted January 1, 2011 Share Posted January 1, 2011 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.