Re: Using PHP in Web Pages

From: Date: Thu, 12 Jul 2001 12:26:53 +0000
Subject: Re: Using PHP in Web Pages
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8279@lists.php.net to get a copy of this message
you can always use PHP and the include(), like header.htm is: <table width="100%"> <tr><td><a href="#">menu1</a></td><td><a href="#">menu2</a></td></tr> </table> and footer.htm is another file, in your main.php file you can do like: <html> <body> <?php include("header.htm"); ?> <!-- some htm here... --!> <?php include("footer.htm"); ?> </body> </html> "David Cox" <dave30@tntwireless.net> wrote in message news:20010710081511.48289.qmail@pb1.pair.com... > can someone here steer me in the correct direction? > > heres what i want to do. (im sure its possible)?? > > i dont want to have to edit every web page when i change something. can i > make multiple pages, (say a header, footer, links, maintext, and then use > PHP to call those pages up and put them in certain places in a web page? > Without have to set up html frames? Maybe just add a line of code to place > it dynamicaly or something.... > > thanks, dave > >

« previous php.windows (#8279) next »