Results 1 to 2 of 2

Thread: generate html files?

  1. #1
    Join Date
    Feb 2005

    generate html files?

    i have many versions of the same html page, each with different content but basically the same layout. it's really tedious if i need to make 10 more pages and change the content for everyone. someone mentioned that i should use a php script to generate my html files from now on. to include files that contain elements of the html page and just put in a lot of include statements. im not really sure how to approach this, id really appreciate it if someone could point me in the right direction. thanks!

  2. #2
    Join Date
    Apr 2005
    PHP supports the include statement. The following will "include" the code from the file "menu.php" in the currently rendered file at the place where the include function was placed.

    <?php include("menu.php"); ?>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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