I want to know if there's a way to print an undefined variable in the body of a node, with PHP input filter, something like:
<?php
print $foo;
?>
And then, in another node define the values of the variables in the body, like:
<?php
$foo = 'bar';
?>
and embed the previous node in it with PHP or other method and print in it the variables defined in the including node.