Re: Re: What makes _SERVER stop working

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

 





On 8/3/09 1:40 PM, "Ollisso" <ollisso@xxxxxxxxxx> wrote:

On Mon, 03 Aug 2009 20:26:35 +0300, "Miller, Terion"
<tmiller@xxxxxxxxxxxxxxxxxxxx> wrote:

> All of a sudden this stopped working and keeps defaulting to A again
>
>      if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
>
> $default = "A";
> }
>
> else {
> $default = "";
>  }
>
it should be:
  if ($_SERVER['SCRIPT_FILENAME'] == "browse.php" ) {
...

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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



Thanks but it still doesn't work, it defaults to 'A' and I want it to default to show 'A" only on browse.php all other pages should show NO default selections.
'

-- 
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