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

--

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to