I wrote a web-application using PHP+MySQL for a part of a course in my universtity. Part of the report that I have to write should includes a part on testing of the application.
So my question is what are the best tools that I can use to perform tests to proove that what the user inputs into a form is what is actually saved on the database. I perform client side validation with JavaScript using regular expressions to assure that the input is valid, but I also have to show that the correct values are being written on the DB. What is the standard way to this? Are there any tools (free) that I can use?
For automated unit tests, Adrian already pointed you to a good solution.
You can also automate browser-based testing with Selenium.