Jump to content
MakeWebGames

Player Classes


Recommended Posts

  • Replies 66
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...
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")."

Link to comment
Share on other sites

  • 4 weeks later...

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.

Link to comment
Share on other sites

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