Hello again,
Generally, what you do for php mode, is collect all of the text you want into a variable, and then return the variable at the end of the script.
Example: (Assuming you want to print 'hello world!')
Text Formatted Code
$echotext = "Hello";
$echotext .= " World";
$echotext .= "!";
return $echotext;
(Obviously, that could also be done in a single line, but I was just trying to show an example of how you can stack a variable and return it)
Exaurdon~