PHP to only call one type of data?

Gary

New member
In the database table, we have a column called 'aircraft'. At the moment, the page calls down all of the data and shows 'aircraft' .

What I want it to do is call a second table which asks if 'ac_type' = 1 or 2. If it equals 1, it will only show data with 'aircraft' of B712. If it equals 2, it will only show data with 'aircraft' of B737.

This is what I currently have

<td align="center" valign="middle"><? echo $row_flights['aircraft']; ?></td>

What else do I need?
That link doesn't work Serena
 
Back
Top