RE: [PHP-WIN] Problem with links....

From: Date: Fri, 28 Feb 2003 10:18:11 +0000
Subject: RE: [PHP-WIN] Problem with links....
Groups: php.windows 
Request: Send a blank email to php-windows+get-18757@lists.php.net to get a copy of this message
Hi, It is probably a register globals problem. If register globals is set to off in your php.ini you have to access $sw as $_GET['sw'] hth Henrik Hornemann -----Original Message----- From: A. Mikkelsen To: php-windows@lists.php.net Sent: 28-02-03 10:52 Subject: [PHP-WIN] Problem with links.... Hi I'm using <A HREF="main.php?sw=SQL" TARGET="main">SQL Navigator</A><br> to link to main.php. The link to the page works but not the ?sw=SQL path. In main.php i use the following to check the ?sw= SWITCH ($sw) { CASE ("toad"): $Where_Text = "AND Software = 'Toad'"; $Choosen_SW = "Toad"; BREAK; CASE ("SQL"): $Where_Text = "AND Software = 'SQL Navigator'"; $Choosen_SW = "SQL Navigator"; BREAK; } My problem is that is doesn't seem to send the sw info th the main.php page. Does anybody have an ideer to what is wrong. PHP is the latast version, and i added the php_mssql.dll extension. //Anders -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#18757) next »