PHP Tutorial (& MySQL) #22 – Checking for Errors & Redirecting




Hey gang, in this PHP tutorial I’ll explain how to redirect a user to another page after checking there are no errors in our form submission.

Original source


11 responses to “PHP Tutorial (& MySQL) #22 – Checking for Errors & Redirecting”

  1. good tutorial, however, I would type if(! array_filter($errors)) { … then you do not have to have empty condition, which helps processing, maintenance of the code and readability. This is of course subjective to an individual, hence this is not a critique but just a little suggestion

  2. I strongly suggest you to start a series using a Framework like (symfony Or laravel) just after finishing this one these are popular , do your best to do this dude thank you so much for your efforts

Leave a Reply