I have a html form with some "text" (T1) and "checkbox" (C1) fields to pass
it to a php script.

Accessing "text" fields has no problem.

There is a problem when I use
$C1=$HTTP_POST_VARS['C1']
to take the value of C1 (ON)
If it is not checked, then it is not set at all. (??why??)
So I use :
if (!isset($C1)) { $C1="0" }
but still I get an warning that C1 is not set, on my screen.
That happens before the use  of isset function.
How can I susspent this warning message?

What's wrong?

Makis Savaidis
Thessaloniki
Greece



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to