PDA

View Full Version : PHP on Html Web



Nigel
06-20-2005, 09:20 PM
Does anyone know how to make a an html tag to allow the below PHP tag "displayable" on a dynamic website? My server does not recognize PHP. I am hoping that there is a way to display the PHP w/in the html site. This is my site: http://namcmortgage.com/ratesdisplay.html

Eg: <?php include("http://www.interactiverates.com/rates.html?custid=3945"); ?>

Displays asthe following in an editor:
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&lt;?php
include("http://www.interactiverates.com/rates.html?custid=3945"); ?&gt;
</SPAN></FONT></P>

Twey
06-21-2005, 03:04 PM
If you mean to display the actual tag, you can use &lt; and &gt; as you have above.
If you mean to display the result of the tag, you can't.