Form validation

Hello I currently have applied some form validation using javascript however I obviously also need to add it on server side.

How do I go about doing this?

I have a few fields, email, username, password.
I also have fields that do not allow spaces and numbers.
My fields also have a min/max value

There is a huge amount of info/examples on the internet showing how to validate form data using php. Basically you can use a combination of regular expressions and built-in php functions to validate common form data like email addresses etc.

If you google something along the lines of ‘form validation php’ I’m sure you will get lots of hits.