Complete Redo

I changed it back to php, implemented the database, the submission form,
and validated them. Created an error page.