Transfered quize stuff from html to php docs

Validation added