Unexpected '<' Error
bwhazel - December 1, 2008 - 01:54
| Project: | Computed Field |
| Version: | 6.x-1.0-beta2 |
| Component: | Documentation |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I may well be missing something very obvious, but I am receiving the following error whenever I try and create a node with a Computed field type in it:
Parse error: syntax error, unexpected '<' in {SERVER}/drupal/modules/computed_field/computed_field.module(138) : eval()'d code on line 1
Initially I thought it may be due to using tags in the PHP, but when I tried without, I still obtained this error!
What am I doing wrong? Please help!

#1
Paste your code? Probably just syntax error.
Be sure to use full
<?phpopen tags, not just<?#2
Hi!
Many thanks for the response!
The code I am using is:
$node_field[0]['value'] = $node->field_compoundformula[0]['value'];
#3
Getting the same problem, looking for solution.
Please post if you found something.