Forum


Calc Builder Support

Calc Builder support
Forums
No se permite escribir sin estar logado. Por favor, login

sections to calculate an average 21.06.2019 09:59

hello i need the number of sections to calculate an average, how do i code it?
Thanks for the help

Re: sections to calculate an average 21.06.2019 11:24

Hello,

You can get the number of sections, getting the number of occurrences of any field on this section. I.e., if you have a field with variable name 'myfieldinsidesection', you can use this in code section:

$numsections=count($myfieldinsidesection);

so, $numsections is the number of sections.

Regards,
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect
FaLang translation system by Faboba

Lo que nuestros clientes opinan de nosotros