Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

unexpected T_STRING error and no result in my 1st attempt 20.11.2011 15:43

I am trying to make my 1st form but I get errors.
The formula is
HbA1c X 33.3 – 86 = MBG

I want for a given HbA1c to calculate MBG.

So I made 1 variable hba1c and the formula $result=$hba1c*33.3–86;

but I get tis error:
Parse error: syntax error, unexpected T_STRING in /home/netlabgr/public_html/components/com_calcbuilder/models/calcbuilder.php(202) : eval()'d code on line 1

and no result. Any help please?
Thank you!

Edited by hariskar - 20.11.2011 15:47


Edit: I found the solution: The problem was the wrong big minus sign that was pasted in the formula.

Edited by hariskar - 20.11.2011 16:01
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback