Hello

Im new to PHP and I have a little problem.
It seems that I always get a blank value from a query string.

This is my code

<a href="login.php?Action=Login">BLA&nbsp;&nbsp;&nbsp;</a>

and this is login.php

 <tr>
                <td width="100%" colspan="2">
      <!--Main page-->
      <?php
     if (empty($Action))
     {
       include("MainPage.php");
     }
     else
     {
       if($Action == 'Login')
      {
        include("loginpage.php");
      }
       else
      {
        include("MainPage.php");
      }
     }
      ?>
                </td>
              </tr>


but the $Action is always empty.

ps. I´ve tried to change the variable name but no succes.

thanx
Palli



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to