What version of PHP are you using? Have you got register_globals on? If they're off you'll need to get the $sort variable by using $HTTP_GET_VARS['sort'] (or $_GET['sort'] if you're using PHP4.1.0 or later)
You attachched the wrong file (html output instead of PHP source) You really could do with a spell checker btw :-) HTH Danny. ----- Original Message ----- From: @cid To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 10:24 PM Subject: [PHP] question varibles and url on my page (lessen.php) i have a variable $sort if this varible is empty if enterd the page then it will be set on 'day' i have 3 links in the page lessen.php?sort=day lessen.php?sort=game lessen.php?sort=player so these links refure to the same page (itself) on clicked it opens itself and should set the varible to day, game or player but that doesn't happen. can somebody help me please see attachmend greetz @cid -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php