How do i create a table with dynamically expanding rows in moodle.But,i want to restrict the number of columns to only four.
There are a few table APIs in Moodle, I find html_table the most useful. The comments in that file explain its usage pretty well.