Validating and escaping input
Never trust what visitors type: check every field, show helpful errors, keep their answers, and escape output.
This lesson is part of the full PHP tutorial
Registered students: sign in to read every lesson. Others can sign in and enter a Tutorial Access passcode once; the account keeps the access.
Lessons marked Free in the list can be read without a passcode.