Central webpage to generate specific outputs

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
MaxCurrent
Forum Newbie
Posts: 2
Joined: Tue Feb 19, 2008 1:17 pm

Central webpage to generate specific outputs

Post by MaxCurrent »

Hey everyone,

I'm new to this whole PHP/MySQL thing, but am really trying to get to grips with it for a school project. I was wondering if there was a way all users could have the same login webpage, but then entering their username and password will generate a page holding all the information stored about them in the relevent table. I was also considering holding the username and password fields in this table - would this carry any security implications?

Sorry if this is a bit vague/obvious but, as I said, I'm new to all of this.

Thanks for any help you can offer!
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Central webpage to generate specific outputs

Post by Christopher »

Yes, PHP can do that. Remember, PHP is most commonly used as a HTML generator. It can generate HTML that is filled in with data from a database. And like a word processor's mail merge feature, it can display the same HTML layout with data from a specific user's record.
(#10850)
MaxCurrent
Forum Newbie
Posts: 2
Joined: Tue Feb 19, 2008 1:17 pm

Re: Central webpage to generate specific outputs

Post by MaxCurrent »

Great thanks. Can anyone give me some specific functions etc that would do this - so I can lookup/learn how to implement them...
Thanks!
Post Reply