Jump to content

Can someone please tell me what this php does?


11Tami

Recommended Posts

Hi, someone gave me this code but never told me what the show in the php and in the link address is supposed to do? Does anybody know? Thank you very much.

 

<?php
$show = $_GET['show'];

if($show == 1){
print "<a href=\'http://www.website.com/page.php?show=1\'>TEST LINK</a>\n";
}
?>

 

Link to comment
Share on other sites

Jesirose, good to see you. Please tell me what your suggestion means, I have no idea at all. It doesn't have to completely work, I just need to be headed in the right direction. I won't know if I am going in the right direction, if I don't understand what it is. I have no clue what your code suggestion is supposed to do. Please let me know, thank a lot.

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.