Jordan Palmer Posted February 18, 2009 Posted February 18, 2009 Re: [MCCODE V2] User Competitions You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This will work! No it wont first off You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 2 totally different amounts secondly You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This is going to create a gang page :P Spell check that query.. And The Insert Isn't correct that isn't the right way.. :? Quote
bob324 Posted February 18, 2009 Posted February 18, 2009 Re: [MCCODE V2] User Competitions You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This will work! No it wont first off You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 2 totally different amounts secondly You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This is going to create a gang page :P Spell check that query.. And The Insert Isn't correct that isn't the right way.. :? What are you on about spell check what? and what isnt the right way? Quote
bob324 Posted February 18, 2009 Posted February 18, 2009 Re: [MCCODE V2] User Competitions This is as far as Ive got with it. Please feel free to fix the other problems. And before you say I know it doesnt work. createcomp.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. comps.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. compentry.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. viewcomp.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Will try again next week when I have time. Quote
Jordan Palmer Posted February 18, 2009 Posted February 18, 2009 Re: [MCCODE V2] User Competitions In viewcomp.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Should Infact be } } $h->endpage(); ?> There's another glicth somewhere I'll try and fix Quote
Blackdogg Posted May 25, 2009 Posted May 25, 2009 Re: [MCCODE V2] User Competitions Did anyone ever get this working im trying to work on it but not getting very far lol Quote
SMOKEY_TEK Posted December 31, 2009 Posted December 31, 2009 It doesn't work quite yet... I get this error in viewcomp.php :cursing: Parse error: syntax error, unexpected $end in viewcomp.php on line 67 This mod would be a good addon... So if anyone could get this to work without any error... Please post! Regards, James Quote
rowbvp Posted April 16, 2010 Posted April 16, 2010 ok i fixed the veiwcomp now im getting error Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home3/bvp187/public_html/compentry.php on line 34 Quote
Nicholas Posted April 17, 2010 Posted April 17, 2010 ok i fixed the veiwcomp now im getting error Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home3/bvp187/public_html/compentry.php on line 34 find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace it with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. try that mate. Quote
Nicholas Posted April 17, 2010 Posted April 17, 2010 It doesn't work quite yet... I get this error in viewcomp.php :cursing: Parse error: syntax error, unexpected $end in viewcomp.php on line 67 This mod would be a good addon... So if anyone could get this to work without any error... Please post! Regards, James find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace it with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. see if that works m8. an unexpected $end error means its missing a } somewhere in the script, that error is usually done by a } else { bit lol. just try adding a } on top of the ?> 7 out 10 its normally that. lol. Quote
rowbvp Posted April 18, 2010 Posted April 18, 2010 almost there now im getting in compentry Parse error: syntax error, unexpected T_ELSE in /home3/bvp187/public_html/compentry.php on line 37 ________________________________________________________________________________ $db->query("INSERT INTO compentrys VALUES('',$userid)"); else --------------------line 37 { print "You do not have enough money to join this competition."; } $h->endpage(); ?> Quote
Djkanna Posted April 18, 2010 Posted April 18, 2010 } before the else You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Nicholas Posted April 18, 2010 Posted April 18, 2010 almost there now im getting in compentry Parse error: syntax error, unexpected T_ELSE in /home3/bvp187/public_html/compentry.php on line 37 ________________________________________________________________________________ $db->query("INSERT INTO compentrys VALUES('',$userid)"); else --------------------line 37 { print "You do not have enough money to join this competition."; } $h->endpage(); ?> try using this? *NOT TESTED RECODED ON HERE* You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. if it doesnt work like shows blank page change You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. into You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. see if that works. Quote
sniko Posted April 19, 2010 Posted April 19, 2010 Cool modification, despite the errors, but no one is perfect :) If you want to merge all these files into one, try learning and applying switch() case functions For example You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. - Sniko Quote
Tony_Montana06 Posted September 3, 2010 Posted September 3, 2010 So can anyone re-post the working code I got confused half way through the post lol Quote
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.