|
Posted by toedipper on 05/09/05 22:59
Hello,
Newbie alert, run for cover.
Apache, PHP and MY SQL
Imagine I have 2 tables, users and cars. The users table basically lists
people who own cara and the cars table is the cars that are owned by the
people.
The users table has the following standard info
userid
username
password
The cars table has the following
carid,
ownerid - this is the userid of the table users
reg_plate_number,
make,
model,
blah,
blah,
What I want to be able to do is say have a user login on at a simple page
with a text box for username/password, maybe called login.php - and assuming
they pass the logon test (exists and correct username/pw) they will be
redirected to a page that shows the cars that they own. So for example if
Tom logs in correctly he will get a list on screen of the car(s) that he
owns.
Any ideas?
Thanks,
td.
[Back to original message]
|