Jump to content
xisto Community

Unregistered023

Members
  • Content Count

    3
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    Unregistered023 reacted to BuffaloHelp in Can A Perminant List Or Table Be Displayed On Your Site By Placing It In The Css Stylesheet? Without the use of frames.   
    No.But you can achieve that by using PHP code and INCLUDE command.PHP INCLUDE is a very nice function. You can include the same static HTML code to any page by simply,
    include ('file_name.ext'); But you must use .php extension to the page being included, for example, home.php, reviews.php, etc.You can use .html or .htm and still use this PHP INCLUDE command. You will need to modify htaccess in that directory.
    RemoveHandler .html .htmAddType application/x-httpd-php .php .htm .html Make this your .htaccess file and in your regular .html or .htm file insert the code
    <?php include('nav_menu.php'); ?> Your regular .html or .htm file can now parse PHP commands.There is another method to include within regular HTML file. That is to use OBJECT to include another .html or .htm file. But I believe this make your webpage load slower.You can also use iframe to include another page but it may not be good for certain SEO.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.