Jump to content

Surely this should work...


Phpfr3ak

Recommended Posts

Pretty simple, when a crews created it will divert to this page with the url extension ?Show=Created

 

surely the following code should do this?

<? if($_GET['Show']=="Created")
echo "Crew created successfully!<br>
You can now use the invite option under the CREWS menu to invite other players to join you.";
?>

Link to comment
Share on other sites

Pretty simple, when a crews created it will divert to this page with the url extension ?Show=Created

 

surely the following code should do this?

<? if($_GET['Show']=="Created")
echo "Crew created successfully!<br>
You can now use the invite option under the CREWS menu to invite other players to join you.";
?>

what exactly is the point of this thread? Are you having an issue?

The only way that I can think of as to why this little snippet of code would not work is if your PHP settings has the "short_tags" directive disabled

Link to comment
Share on other sites

Odd

 

I'm getting

 

You can now use the invite option under the CREWS menu to invite other players to join you."; ?> 

 

Echo'd when ?Show=Created isn't even being used, also never seen an end php tag being echod before,  testing this on easyphp could be why maybe?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.