The problem I am having is when I click the link that submits the form to the next page, it is not sending the info.
The javascript should send the info using the onclick code and the php GET code should pick it up.
What am I doing wrong???
AirportPage.php
<form name="searchform2" action="updategeneralinfo.php" method="post" id="searchform2">
<input type="hidden" id="airport_id2" name="airport_id2" value="search"/>
</form>
<a href="../updategeneralinfo.php" onclick="document['searchform2'].submit(); return false;">Update Info</a>
updategeneralinfo.php
$airport_id = $_GET['airport_id2'];
Airport: <?php echo $airport_id; ?>
You are using Post method
//Airport page
//Update info page updategeneralinfo.php