Re: Select the specific user data from the database
| From: | Phpster | Date: | Sun, 05 Sep 2010 13:03:55 +0000 |
| Subject: | Re: Select the specific user data from the database | ||
| References: | 1 | Groups: | php.db php.windows |
| Request: | Send a blank email to php-db+get-47355@lists.php.net to get a copy of this message | ||
Then each record needs to have a user filed where their is stored. Then your access query just adds
an additional filter to check this value
Select * from data_table where user = $user
Bastien
Sent from my iPod
On Sep 5, 2010, at 7:21, nagendra prasad <nagendra802000@gmail.com> wrote:
> Hi Experts,
>
> I have a mysql database. What I want is that when a user login he can able
> to see his entries only, so that he can delete, add or edit his entries
> only. I have 2 different tables one for user details and another for actual
> entries. Please help me.
>
> Best,
> Guru.