retreving info from a db ...
Posted: Sat Nov 29, 2008 8:10 pm
Here is what i am trying to accomplish, am not looking for any code .. just guide in right direction ...
Website i am working on will have multiple users that will have their own directory such as this:
Information that will pertain to J. Smith will be retrieved from the db. will be displayed on the page when it is open.
I can do this 2 ways. I can embed jsmith id on the page and pull information from the database and that would be it.
I would like to use sub directory as a pointer of sorts that would pull information from the database.
Is that possible?
could i use it in following fashion ...
Any ideas and pointers would be greatly appreciated 
Thank you
Greg
Website i am working on will have multiple users that will have their own directory such as this:
Code: Select all
http://www.somedomain.com/jsmith/
I can do this 2 ways. I can embed jsmith id on the page and pull information from the database and that would be it.
I would like to use sub directory as a pointer of sorts that would pull information from the database.
Is that possible?
could i use it in following fashion ...
Code: Select all
SELECT * FROM table WHERE id=jsmithThank you
Greg