currently i'm developing a website in a class in my university. i'm using PHP and MySQL.

i have the signup page that when submitted goes to a auxiliary php page that goes through a number of conditions and i'f the form failed in one of the conditions i wanted to return to the signup page that also appeared a line detailing the error.

i wanted to know if i only need to use php or php+javascript.

Thanks in advance.