PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
forced to fill them in and the form won't get submited until then? You can't do this but you can use javascript to try and prevent them. You will always need to check the form data after submit just incase.
if(!isset($_POST['field'])) {
echo 'You haven\'t entered anything in field! Try again!';
} else {
$completedfield = mysql_real_escape_string($_POST['field']); //Make the info safe (stripslashes or w/e could be used here instead)
//...send $completedfield to db/file or whatever here...
}