[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.
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.