I have the following html form in one of my php files:
<form action="reply.php?id=$id" method="post" class="form-horizontal" role="form">
When this form is submitted I want to pass the $id variable from this file into my reply file.
In my reply file I have used the following get method but all that is stored in the $queryid variable is $id instead of the int value that it should be.
$queryid = (int)$_GET['id'];
I realise it's probably something simple I am missing but I just can't seem to work it out.
$idinside HTML using php tags:<form action="reply.php?id=<?php echo $id; ?>" method="post" class="form-horizontal" role="form">