Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, 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
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