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.
If I understood you correctly, what you are trying to do is this:
foreach ( $_POST as $key => $value ) { if(empty($value)) $_POST[$key] = 'This is an unanswered question!'; }
But this cannot work due to the fact that empty values aren't posted from the form.