RE: Question on query string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx
> Sent: 16/11/04 21:35
> Subject: Re:  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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux