Page 1 of 1

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

Posted: Mon Aug 30, 2010 1:30 am
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???

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

Posted: Mon Aug 30, 2010 1:53 am
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.