How to get frontpage to leave code alone

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
 
T

Thomas A. Rowe

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.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top