My first php script got hard rejected

I have never work on php, html, css for a full project before.
This was my first ever php project.
It got hard rejected, I know that I would have done many things wrong.

can anyone tell me what should be improved?