Hi all,
I'm having a bit of problem getting <?php printed out to the screen. I'm not sure if this is possible - I'm wanting to do this so a php code page can be produced and saved locally.
Any help would be greatly appreciated. Cheers, Gus
Doesn't a simple line echo "<?php"; print it out for you?
Try this:
echo '<' . '?php';
EDIT: Seems as if I've been beaten to the punch. 🙂
nope...tried a few ways.
I just tried echo "<?php"; It works.
But you wont' see it on the page cause the browser might think it's an HTML tag. Try:
print ("<?php");
Thanks superwormy .... that's done the trick!
Cheers! Gus