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";
}
?>

 

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.

Archived

This topic is now archived and is closed to further replies.

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