Re: How to show data from db

From: Date: Tue, 06 Jun 2000 10:19:13 +0000
Subject: Re: How to show data from db
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-220@lists.php.net to get a copy of this message
If you are running an Apache web server you can compile mod_mysql_auth. If not, go to the Features:HTTP Authentication section of the manual and use that code for authentication. Put the code in a function and put it in the top of every file which needs password protection. Perhaps have the function return the user's id from the database, and only let the user change/view data associated with that id. > I've stumbled into a problem that I can't figure out how to solve, > basically what I want to do is to have a user log in and when a user logs > in using his login name and password that I have stored in a mysql table > called users, then I want to show him the data that he has submitted before > and that is stored in a mysql database and give him the ability to change > that data, so if I for example have a directory I want the users listed in > it to be able to change for example the description of their site and so > on.

« previous php.db (#220) next »