Re: Problem with links....

From: Date: Fri, 28 Feb 2003 18:26:44 +0000
Subject: Re: Problem with links....
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-18775@lists.php.net to get a copy of this message
try: switch ($_REQUEST["sw"]){ case "SQL": // SQL Stuff break; case "Toad": // Toad break; default: // Default Option break; } "A. Mikkelsen" <a__mikkelsen@hotmail.com> wrote in message news:20030228095256.21646.qmail@pb1.pair.com... > 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 > >

« previous php.windows (#18775) next »