[Ask] How to create a logical sequence of first appearance

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
drawan
Forum Newbie
Posts: 3
Joined: Fri Aug 20, 2010 11:26 am

[Ask] How to create a logical sequence of first appearance

Post by drawan »

I have employee table that contains some data, the mysql database:
1. Davina
2. Brisen
3. Angela
4. Marcos
5. Michale
6. Mandala
7. etc

then one of the employees in accordance with the username login Him
eg:
username: Marcos,
after that login will display showing all employees
but the username: Marcos became the first sequence
then another employee username, so that the view on the web:
1. Marcos
2. Davina
3. Brisen
4. Michale
5. etc

how to make it by using PHP and MySql???
eskio
Forum Commoner
Posts: 66
Joined: Tue Apr 01, 2008 1:00 am

Re: [Ask] How to create a logical sequence of first appearan

Post by eskio »

Hi,
I do not understand your question :?:
Do you want that all logged persons to be viewed by the web site? in this case, you should save into the database all logged persons. but some people will close the browser without signing out, they will displayed also.
Give us some more information. to help you.
Post Reply