Moonsoft Software Solutions

Calc Builder Support

Calc Builder support
Public write access is disabled. Please login
Last post
hariskar

hariskar
3 posts
---
20.11.2011 15:43

unexpected T_STRING error and no result in my 1st attempt

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