Hi want to build a program which creates surveys. I couldn\' t figure out how can i assign value for a question which is unanswered. Thank you for your helps.
Try this:
if(isset($_POST) && (!empty($_POST))){ foreach ( $_POST as $key => $value ) { if(empty($value)){ $_POST="bos"; } else{ //put your code } } }