I am rather new at PHP, and have a question, you experts probably can answer in no time...
I have this function that returns an <A HREF> for a number of items, like this:
Code: Select all
<a href="$PHP_SELF?go=**the action to take next**">Visible text</a>In my php script I have something like:
Code: Select all
if ($go == "**action 1**") {
// Do the first action
}
elseif ($go == "**action 2**") {
// Do the second action
}But now the problem: no matter what I try, the $go is never assigned... The <A HREF>'s look okay when I browse the page, but when I click the link nothing happens... It seems the parameters on the URL do not get parsed?
Here's is my config: Windows2000, PHP 4.2.1, Apache 1.3.22
Could someone point put the problem? Thanks in advance!
Jack