Unnamed
public php v1 · immutable<?php//check to make sure the user didn't input bogus data$errors = NULL;foreach($_POST as $key => $value) { if(!preg_match('/.+/')) { $errors .= "You neglected to enter a value for field {$key}\n<br />"; }}?>