Hi I have 2 pages.
1. form.php
2. update.php
I have populated valus from databse on the base of id and show in the form field, now in update page I have tried to post the value but its not working.
Please Helop meIn Form.php
<form action="update.php" method="post">
<input type="text" name="siteid" value="<?= $b ?>" />
<input type="submit" name="subjoin" value="Update">
</form>
in update page how I show the value of site id. I am using post method. but field value is variable($b) so how I can I post the value to next page?
In update.php
$c = $_post["$b"];
echo $c; //its not working.
Thanks in advance