Create a PHP script which validates username and password fields of a webpage. Username and password should be at least 6 characters.
Click here for output