I'm trying to keep 'scores' for users on certain pages. So far Matrix seems to do the job, as I can type a score for every user and for different assignments.
What I'm trying to do now is to enter scores using the API, so *not* using the admin pages.
If I understand things right, Matrix is simular to (or an instance of?) WireArray, so I should use $matrix->add(sth)? I just can't find my way through.
Does anyone have an example code snippet for entering values to a Matrix using the API? It would help me a lot.
edit: Of course I can always enter the data directly into the database, but I'd rather use the power of PW if possible.