I am trying at present to produce a report using multi-dimensional arrays from queries and apis and am using a data however I would like to look at, being able to insert 0 for values for where there are no entries, and therefore no arrays of data, for dates but am unsure what the standard practice is for doing this.
I know this is not strictly a moodle question but am hoping someone may have dealt with this sort of situation before, the main senario where I am having the issue involves using the clicky api for data over a 30 day range.
Thanks
Scott