by aneely@[EMAIL PROTECTED]
May 3, 2007 at 01:14 PM
aneely@[EMAIL PROTECTED]
wrote:
> I had a wild thought and changed the select box definition.
>
> First I dropped the 'selected' attribute. That solved the problem.
>
> Then I added it back, but as such: selected="selected". That worked too.
>
> My DOCTYPE is HTML 4.01 Transitional, and I remembered reading about all
> attributes must now have a value, even the ones that didn't normally
> require one.
>
> I hope this helps some other programmer save some time.
Don't know what I was thinking when I posted this. It couldn't have
worked.
See my response under 'Odd select box behaviour'.
The *correct* answer is:
'if ($Country ne 'Canada' && $Country ne 'United States')'
not
'if ($Country ne 'Canada' || $Country ne 'United States')'
as pointed out by Shawn Hinchy.
--