[Ask] How to create a logical sequence of first appearance
Posted: Mon Aug 30, 2010 1:30 am
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???
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???