Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now
by
Lessons:13Length:1.7 hours
  • Overview
  • Transcript

2.4 Sanitizing Data

Sanitizing data is something you must always do when dealing with user input, for security reasons. Someone might input harmful PHP code that, when saved to the database, can do serious damage. They might also inject JavaScript code that can create big problems when rendered on the front-end. To avoid this, let’s see how we can sanitize our input.