This worked in ASP but not i PHP:
input type=checkbox name=whatever
s_whatever = form(whatever)
if whatever = "on" then ... else ...
In PHP I get a "Undefined index: whatever" when I leave the checkbox unchecked, I guess that's because the checkbox returns a "empty value" but how do I fix it? How do you get the checkbox to return a correct value?
Hmm, I hope you understand the problem... and my "ASP/PHP/Pascal/C++/Java/HTML -code" 🙂
//Erik