Can someone plz help me with my code below. It wont work. Mor specific the link wont work.When I click on the link this text wont display "TESTING!!! TESTING!!! TESTING!!!"
--------START CODE!-------------
<?php
function AddonSample() {
echo "Addon Sample File (index.php)<br><br>";
echo "<ul>";
echo "<li><a href=\"temp.php?name=&file=index&func=one\">Function One</a>";
echo "</ul>";
echo "You can now use Administration interface to activate or deactivate any module. As an Admin you can always "
."access to your Inactive modules for testing purpouses.";
}
function one() {
echo "TESTING!!! TESTING!!! TESTING!!!";
}
switch($func) {
default:
AddonSample();
break;
case "one":
one();
break;
}
?>
--------END CODE!-------------