Jump to content

Adding Aircraft to Schedule Searchform.tpl


mltpilot

Recommended Posts

How can I link my Aircraft to the actual aircraft. I have added names to the dropdown menu, but its still not filtering aircraft. How can i do this?

<div id="aircrafttab">

<p>Select Aircraft:</p>

<select id="equipment" name="equipment">

<option value="">Select aircraft</option>

<?php

if(!$aircraft_list) {

$aircraft_list = array();

}

foreach($aircraft_list as $aircraft) {

echo '<option value="'.$aircraft->name.'">'.$aircraft->name.'</option>';

}

?>

</select>

<input type="submit" name="submit" value="Find Flights" />

</div>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...