Page 1 of 1

Central webpage to generate specific outputs

Posted: Tue Feb 19, 2008 1:31 pm
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!

Re: Central webpage to generate specific outputs

Posted: Tue Feb 19, 2008 2:16 pm
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.

Re: Central webpage to generate specific outputs

Posted: Wed Feb 20, 2008 4:17 am
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!