I have made a database- forum with PHP and MySQL.
My problem is this:
Every time when the page is reloaded it makes empty row in to my database table.
I think that the submit button makes it.
ex. every messages have a option that they can be deleted and then the page refresh with
header("Location: forum.php"-funktion. But when the page refresh there is now a new empty row.
How can I prevent that happening or maby delete those rows automaticly.
My problem is this:
Every time when the page is reloaded it makes empty row in to my database table.
I think that the submit button makes it.
ex. every messages have a option that they can be deleted and then the page refresh with
header("Location: forum.php"-funktion. But when the page refresh there is now a new empty row.
How can I prevent that happening or maby delete those rows automaticly.