Jump to content
MakeWebGames

Recommended Posts

  • Replies 66
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)
Like ability to "evolve"?

Or something like "player ranks"?

yes they complete a series of achievements that advances them to the next level

Edited by Tangled
Posted
Like ability to "evolve"?

Or something like "player ranks"?

I bought a mod from Mccodes for achievements but I haven't been able to download it and I bought it 4 mths ago :mad:

  • 1 year later...
Posted
Because " is not a valid delimiter i this context.

You're unable to view this code.

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

Would be the obvious solution after reading the heredoc reference in detail.

I've got the same issue. I tried adding include ('global_func.php'); and i said fatal can not call twice, blah. Tried switching the "" to '' and that was a no go.

Basically it does not get past the ".class_dropdown(NULL,"classID")."

Posted

So how should I print the drop down?

global_noauth is in register, so produces a fatal if included.

BUT without it simply prints the dropdown code.

What am I suppossed to do? I'm aware of the issue, but not of a solution.

Posted

Global non auth includes global func. But maybe you have some what of a default register script? If so, you are probably using heredoc/nowdoc. You will have to do what Alan mentioned and kill it to add th function and start it back up after the function

Posted (edited)

Fatal error: Call to undefined function class_dropdown() in /home/tcxtra5/public_html/register.php on line 297

is with the first

With the second actually a white page and

Parse error: syntax error, unexpected 'print' (T_PRINT)

Edited by boionfire81
Posted

The function definition must be in your global functions file. Your Global non-auth file includes your global functions file. So your error is telling me that you do not have that function declared in any file

  • 4 weeks later...
Posted

staff_classes.php

You're unable to view this code.

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

Add into global_func.php

 

You're unable to view this code.

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

 

Add into smenu.php

You're unable to view this code.

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

 

register.php

Find:

You're unable to view this code.

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

 

Add:

You're unable to view this code.

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

Now find your users insert query and add in there player_class then for the values section of the query add '{$_POST['classID']}' a little like this:

You're unable to view this code.

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

 

Next for the drop down menu, remember for this you must include_once/require_once "global_func.php", so add this in where the player registers:

You're unable to view this code.

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

 

And finally the SQL

You're unable to view this code.

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

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