Preventing PHP code from excecuting
-
Hullo,
.
It’s sort of hard to describe what I’m looking for, although I’m sure it’s a common practice.
.
I’ve got a tag, <?php include(‘wp-comments.php’); ?>, that I don’t want compiled. In other words, if I have a file, index.php, that I view in a web browser, when I check the source of the page through the browser, I want <?php include(‘wp-comments.php’); ?> to still be there.
.
Does that make sense?
.
I have java script that I use to generate a pop up window with code on it that is hardcoded on the page that generated the pop up. I want to have this tag, <?php include(‘wp-comments.php’); ?>, appear in the pop up window.
.
Does that make sense? It doesn’t to me when I read it over.
.
For example, with java, you would put a back slash infront of things like ticks ( ‘ ) and such so that they are not compiled the first time around. How do I do that with PHP.
.
Thanks.
The topic ‘Preventing PHP code from excecuting’ is closed to new replies.