Open rick-cti opened 8 years ago
I have this question as well. It's been asked on the Forum over here a couple times but is unanswered. I posted again there.
I've created a dynamic header that will allow you to do what you want. Put it in your classes/local/header and you should be good. See the patch above for examples on how to use.
Hi rick-cti,
The framework won't display options for another table for select. I'm using mysql, how did you manage to do that? It's really giving me headache.
I just found what's been the issue, I did not have a closing }, thanks.
For MySQL reports, it's possible to use
database_options
to bring in dynamic options for aselect
variable. With PHP reports, it seems only theoptions
property is available, and these options can't be dynamically generated by the PHP code as the report headers must appear at the top of the file.Is it possible to dynamically generate variable options within the PHP report itself?
Many thanks.