I have got an issue to ask related with GET/POST.
I am trying to make a simple blog with posts and comments of them.
From each post I have got on main page, I would like to add a comment form in a new page that enables to save the post´s index to have a control of the commentaries.
I get this index value through GET in the new page but when I submit the form via POST I lose the reference to the index.
I read that is not possible to use both methods at the same time and I would like to know how can I keep a parameter from the main page and store it with the rest of the values in the new form.
Thanks a lot,
BR
http://localhost/simple_blog_new_comment.php?postIndex=xx
<form action='simple_blog_new_comment.php' method='POST'>
Commentary:<br>
<textarea onfocus='clearContent(this)' cols='30' rows='5' name="txt_comment">Enter the text here...</textarea><br>
Author: <input type='text' name='txt_comment_author'><br>
<input type='submit' name='btn_comment_submit'><br><br>
</form>
</div>