Hello,
disabling this feature should be easy (based on quality of your php script), but I'm offering you another idea for solution - maybe duplicate the script, and modify the second one, so the first one shows data with clearings and the second one without clearing. Maybe this will be more comfortable for you.
But anyway, both ways are possible
have a nice day!
Dalibor