quote:
Originally posted by Eddie
On my routes page the url will look like http://www.address.com/index.php?page=routes
And of course on that page there will be a table listing all the routes, that are to be grabbed from my database and sorted by "FlightID".
Use a MySQL query something along the lines of this:
code:
SELECT FlightID, FlightName, FlightDate FROM news ORDER BY FlightID ASC
quote:
Originally posted by Eddit
For example i have a flight AAA123 in the table, i want the FlightID to be a link to a page like the following;
http://www.address.com/index.php?page=routes&flightid=AAA123
Again, use a query something along the lines of the query below for the page to select your Flight:
code:
SELECT * FROM FlightTable WHERE FlightID=$FlightID
If you want, add me on Messenger (check my profile) and I'll try help you with your pages and try fix code for you when I can.