dalearyous
[H]ard|Gawd
- Joined
- Jun 21, 2008
- Messages
- 1,922
i must be missing something big because i cannot get this to work.
Computed Code (PHP)
$entity_field[0]['value'] = "$field->field_number_1 + $field->field_number_2";
Display Code (PHP)
$display_output = $entity_field_item['value'];
(field_number_1 and field_number_2 are of type integer)
the error i keep receiving: Notice: Trying to get property of non-object in eval()
all i want to do is basic arithmetic with fields i currently have. no luck.
Computed Code (PHP)
$entity_field[0]['value'] = "$field->field_number_1 + $field->field_number_2";
Display Code (PHP)
$display_output = $entity_field_item['value'];
(field_number_1 and field_number_2 are of type integer)
the error i keep receiving: Notice: Trying to get property of non-object in eval()
all i want to do is basic arithmetic with fields i currently have. no luck.