I'm making a website and basically, I made one page called "user.php" and I'm using $_GET to make it so it shows different profiles depending on what the URL is. Now I want to make a comment form so that anyone can post a comment on a specific user's profile. I've tried making the form but when I submit it, it reloads the page and I lose the data in the URL that allowed me to access someone's profile. So I was wondering is it possible to do what I want to do or do I have to use $_POST and make it create one different page for every single user?
To illustrate it here's an example of what I'm asking:
Index.php
<?php echo '<a href="user.php?id='.$row['user_id'].'_user='.$row['username'].'">'; ?>
User.php(?id=1_user=poop)
<form action="" method="POST" id="comment_form">
<textarea></textarea>
<input type="submit" value="Submit" />
</form>
If I click on the submit input, I get back to the URL User.php without any data sent to the server