Hi,
I'm really sorry if I am being stupid here, but I am pulling my hair out. It's these little things that I can't track down, but here goes.
I have the following code, that simply is to assign the value of the $_GET to the variable $paperid.... but it doesn't work!
Code:
if(isset($_GET["id"]))
$paperid = $_GET["id"];
echo("$paperid");
I can do this:
Code:
if(isset($_GET["id"]))
// $paperid = $_GET["id"];
echo($_GET["id"]);
Which baffles me, as the 2nd line HAS to be commented for that to work.
Any help is really appreciated. I feel like a dunce
Many thanks!
|