I am new to learning PHP and SQL and am trying to implement a comment section on my website,
but if you comment, then refresh the page, the comment is duplicated, does anyone know why?
The live version is on http://alexsgamehub.com/test
code for sending/getting comments:
code for test homepage: