I wants to display the records in a circular position using php.
It is coming from Mysql DB. It is dynamic records, It may be 10 or 2 or 3 or 8.
For ex 1:
2 3
1 4
8 5
7 6
For ex 2:
2
1 3
4
For ex 3:
2 3
1 4
7 5
6
How can I do this in PHP.