Re: HTML and PHP?

From: Date: Sat, 14 Apr 2001 01:50:24 +0000
Subject: Re: HTML and PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48506@lists.php.net to get a copy of this message
On 13 Apr 2001 17:39:49 -0700 AD in php.general, Jason Caldwell said: >Is there a utility that I can use that will take a bunch of HTML and >encapsulate it in the PRINT command? > >i.e. > >PRINT("{html stuff}\n"); > >?? > >I have a ton of HTML pages that I want to make dynamic, but dread having to >type the PRINT command in front of every line of html, and let alone having >at manually add the slashes... urg. You don't need to make major changes to your HTML pages. Just embed the PHP into your HTML page wherever it's needed. Your web server will still treat a PHP page as an HTML except that the PHP code embedded in it is executed on the web server. However SSI commands will have to be replaced with their PHP equivalents. -- ======================================================================= Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ And my God will meet all your needs according to his glorious riches in Christ Jesus. -- Philippians 4:19 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010413 ======================================================================= Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/

« previous php.general (#48506) next »