Jump to content
MakeWebGames

Recommended Posts

Posted

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.. :?

Posted

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?

Posted

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.

  • 3 months later...
  • 7 months later...
Posted

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

  • 3 months later...
Posted

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

Posted
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.

Posted
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.

Posted

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();

?>

Posted
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.

Posted

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

  • 4 months 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...