Results 1 to 2 of 2

Thread: PHP on Html Web

  1. #1
    Join Date
    May 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP on Html Web

    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>

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •