Re: [PHP] how to check the form filled all

2004-01-19 Thread Tom Rogers
Hi, Thursday, January 15, 2004, 7:33:29 PM, you wrote: SH> HI, i want to check if the user filled the all inputs in the form. So, I SH> checked NULL and "" with this function in the post receiving script. SH> --- SH> function is_filled_out() SH> { SH> // test that each

[PHP] how to check the form filled all

2004-01-18 Thread Sungpill Han
HI, i want to check if the user filled the all inputs in the form. So, I checked NULL and "" with this function in the post receiving script. --- function is_filled_out() { // test that each variabl has a value foreach($_POST as $key => $value) { if(is_null($value)