Skip to content

octaValidate-PHP V2.1

Latest
Compare
Choose a tag to compare
@Octagon-simon Octagon-simon released this 05 Oct 10:41
  1. validateFields() method accepts 2 arguments.
  • The first argument is an array of your validation rules
  • The second argument is the array of the fields to validate.
    • This is where the form fields are coming from which can either be the $_POST or $_GET array. If no value is provided, it defaults to the $_POST array.
  1. status() method was removed

  2. All public methods now have better documentation on how to invoke them