You are here: Technology, Web & Business Forum
: Web Development
: Design
:
How do I insert php snippet into file that I am outputting mainly as html?
|
Welcome to the Technology, Web & Business Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Design Talk about web design techniques and ideas in CSS, HTML, etc.
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
|||
I have a page with a dynamic address such as
http://www.example.com?ID=5 I have written a script to turn the page into a static html page with an address such as this http://www.example.com/static_page.html Everything works fine so far. The problem is, I want the html page above to include a line of php script such as this: <?php include 'counter.php' ?> I am trying to figure out how to output the above line to the html page so that the line will execute when the html page is loaded, rather than having the line merely print out as text as it does now. (I have already configured my hosting service so that html pages will be evaluated for php code.)
__________________
Powered by Yahoo! Answers |



Linear Mode
