How to get frontpage to leave code alone

  • Thread starter Thread starter Tami Robertson
  • Start date Start date
T

Tami Robertson

I am putting my visitor stats code just below the <html>
tags and fp keeps putting it back into the body tag and
then my stats won't work. Isn't there a setting that will
tell frontpage to leave the code alone and not change it
to it's liking? Here is the code...
<?
// Visitor Stats 2
include("visitor_stats/visitor_stats.php");
?>

Thank you
 
Is the page you insert this include statement, also named with a .php extension? If not that is part
of the reason, the other part is that FP doesn't recognize/handle PHP tags well.

Try using the Insert | Advanced | HTML, then switch to HTML / Code View and then move the complete
code block, including the tags FP added to where you want.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Back
Top