RE: [PHP] Question on query string

From: Date: Tue, 16 Nov 2004 23:09:20 +0000
Subject: RE: [PHP] Question on query string
Groups: php.general 
Request: Send a blank email to php-general+get-202238@lists.php.net to get a copy of this message
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm > -----Original Message----- > From: Stuart Felenstein > To: php-general@lists.php.net > Sent: 16/11/04 21:35 > Subject: Re: [PHP] Question on query string > For searchresults.php (right below) is the way I'm > grabbing everything: > > $HTTP_GET_VARS['Ind']; This does nothing. Nada. Zippo. (Except waste time.) What do you believe it does? > // check any item is selected > if (count($Ind) > 0 AND is_array($Ind)) { > $s_Ind = "'".implode("','", $Ind)."'"; > } > $HTTP_GET_VARS['State']; Ditto. > // check any item is selected > if (count($State) > 0 AND is_array($State)) { > $s_State = "'".implode("','", > $State)."'"; > } > $HTTP_GET_VARS['TType']; Likewise. > // check any item is selected > if (count($TType) > 0 AND is_array($TType)) { > $s_TType = "'".implode("','", > $TType)."'"; > } > > //Textfields / Dropdown > $HTTP_GET_VARS['JTitle']; > $HTTP_GET_VARS['City']; > $HTTP_GET_VARS['Days']; And thrice ditto. Cheers! Mike

« previous php.general (#202238) next »