Here is a php sample script my friend gave me and I can't get rid of the error on line 7 it has to deal with the variable he said he dosn' get an error but I am getting one.
<html>
<head></head>
<body>
<?php
//sample script
if($action == "sample"){
//link clicked
$html = "Congrats, you clicked the link!";
} else {
//no link clicked... display the link
$html = "Hello!<br>Would you like to <a href=\"$PHP_SELF?action=sample\">click me</a>?";
}
echo $html;
?>
</body>
</html>
Hope you can helpπ