By buzzdroids on
Hi - I am using Content Template to bring in Stock module data.
I created a field called "stock_symbols" and want to pipe that in to this php code:
print stock_do_quote('short', 'AAPL GOOG MSFT YHOO');
Change to something like this...
print stock_do_quote('short', '<?php print check_plain($node->field_stock_symbols[0]['view']) ');
?>
Unfortunately it's not working - any ideas?
NEVERMIND... figured it out - I'm using this:
($stoxx = $node->field_stock_symbols[0]['value']);
print stock_do_quote('long', $stoxx)