Hi ppl, I am a complete noob to PHP (I am a C++ programmer)
Anyway, I wonder if someone can tell me why this doesnt work...
I would expect it to print out "PASSED VARIABLE: " on the first view of the page, and then after clicking the link it should display "PASSED VARIABLE: Hello".
At the moment it always prints just "PASSED VARIABLE: "
What am I doing wrong?!
------------- simple.php file --------------
<html>
<head>
<title>PHP Trial</title>
</head>
<body>
<?php
echo("PASSED VARIABLE: $passed_var");
echo "<BR><a href=simple.php?passed_var=HELLO>Set variable</a>";
?>
</body>
</html>