?>php
$text = 'hello word!';
echo $text;
?> // this is correct for php
I have this in php, I am testing PHP in staticspage,
?>php
$text = 'hello word!';
echo $text;
?> // this is correct for php
but it does not print out anything. Staticpages.PHP' is checked and "execute PHP" is select.
But if I do this,
echo "Hello";
?>,<b>world</b>,
<?php
echo "how are you?";
?> //example from Documentation
it works, I do not understand, somebody can explain to me like inserted php in staticspage correctly, I thinking about many lines of PHP code.
?????
:banghead: