title: what is the difference between sanitizing and validation in php?
body: <p>I am a beginner PHP developer who was working with an issue regarding PHP script injection.<br>
  Fortunately PHP has functions like <code>filter_var</code> and <code>strip_tags</code> which did the job perfectly for me. 
  But I don't understand the difference between the terms <strong>Sanitize and Validate</strong><br>
  Please explain me the difference, Thanks</p>