Programming Language: PHP & Sql
I need a section of code that will allow users (username & email address) as they register to be placed into a forced matrix n x n.
Each user when logged on can see their current position in the matrix and the number of people below them up to a maximum of **Z**. (Z is the total amount on the last row. e.g. 5x3 matrix would have on the last row 125 people so **Z = 125.**
An admin section that will allow me to change the matrix amount nxn and **Z** changes accordingly.
You can use any variables you like. I will change them to match my own program.