Unlimited Wordpress themes, plugins, graphics & courses! Unlimited asset downloads! From $16.50/m
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.