Working With Forms: Christian Wenz @chwenz
Working With Forms: Christian Wenz @chwenz
Christian Wenz
@chwenz
Agenda
Form Basics
Use htmlspecialchars() to
escape special characters
if (!preg_match($regex, $_POST['key'])) {
}
Prefilling Form Fields
PHP puts form input in $_GET and $_POST arrays, depending on the
HTTP method used