On 8/3/09 7:44 PM, "Shawn McKenzie" wrote:
Miller, Terion 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 stopped working or never
Miller, Terion wrote:
> All of a sudden this stopped working and keeps defaulting to A again
>
> if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
>
> $default = "A";
>
> }
>
>
> else {
>
> $default = "";
>
>
On 8/3/09 2:22 PM, "Ollisso" wrote:
On Mon, 03 Aug 2009 21:48:08 +0300, "Miller, Terion"
wrote:
>
> 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.
> '
Create file with this
On Mon, 03 Aug 2009 21:48:08 +0300, "Miller, Terion"
wrote:
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.
'
Create file with this content:
and run it with browser.
an
On 8/3/09 1:40 PM, "Ollisso" wrote:
On Mon, 03 Aug 2009 20:26:35 +0300, "Miller, Terion"
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 sho
Miller, Terion wrote:
> if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
You're using the assignment operator above ('=') instead of the comparison
('=='). If that's not simply a typo that entered the code when you composed
your email, then that's the source of your problem.
You might cons
On Mon, 03 Aug 2009 20:26:35 +0300, "Miller, Terion"
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.ph
7 matches
Mail list logo