I am working with the computed field module and I keep getting these error messages
Parse error: syntax error, unexpected '<' in /home4/xxx/public_html/xxx/modules/computed_field/computed_field.module(161) : eval()'d code on line 1
Parse error: syntax error, unexpected '<' in /home4/xxx/public_html/xxx/modules/computed_field/computed_field.module(299) : eval()'d code on line 1
I searched the forum and could not other instances where users are getting both messages at the same time. The PHP I am using for the computed field is as follows
$node_field[0]['value'] = ($node->field_weightlbs[0]['value']) * 16 + ($node->field_weightoz[0]['value']);
My goal is to have the admin enter the Weight LBS field and the Weight Oz. field to get a Total Ounces Result.
Any insight as to why I getting these two error messages and how to fix it would be outstanding.