/    Sign up×
Community /Pin to ProfileBookmark

Maybe its better to start off with the website

[url]http://fireairlines.byethost14.com/flights.php[/url]

Well as you can see, i am part of a virtual airline and i was wondering how to make it so i can list individual pilots name(no doubles), flight time, and so on. I am new to php and if you know the answer to this, please help

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@resullivanMay 08.2006 — You will use some kind of database (Oracle, mysql, etc). Most likely mysql to store the information. You will have to run a query to get the information. You will use PHP to simply react with the database and receive and display the information that is ouput from the database.

[URL]http://us2.php.net/manual/en/function.mysql-fetch-assoc.php[/URL]

This is a good PHP example of how to interact with mysql.
Copy linkTweet thisAlerts:
@2RIPauthorMay 08.2006 — yes my host uses sql database, but in the site, i have no idea what its talking about lol.. im new at php :p
Copy linkTweet thisAlerts:
@resullivanMay 08.2006 — Click on the link that I gave you. It gives you a good example of what you need to do.
×

Success!

Help @2RIP spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...