What if I want to include some literal test into a PHP document that I don't want it to interpret as it loads. In particular, I am working with XML but for the example's sake I will say PHP. Example:
--
DocumentA.txt:
-----------
<?php echo 'something here'; ?>
-----------


Document B:
--------------
<?php
include('Document A');
?>
--------------
I would like the output of Document B to be:

<?php echo 'something here'; ?>

instead of something here.
--------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to