Use <?php as plain text in a .php file? -
i have this.php:
<?php //some code ?> here goes text plain text. whenever use <?php in .php file precedes php code parsed , interpreted php.
as may have guessed, file gives error , refuses run correctly. don't want use html entities result file isn't used html. options other storing string <?php
in variable?
generate programatically using string literal.
<?php echo "<?php"; ?>
Comments
Post a Comment