Re: html to php

From: Date: Wed, 14 Jun 2000 08:52:41 +0000
Subject: Re: html to php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1821@lists.php.net to get a copy of this message
On Wed, 14 Jun 2000, Antonio Guerrieri wrote: >Hi all, >I have appreciated your suggestions :-) but I'm looking for something >which can parse a html line like: > ><title>This is the title tag</title> > >and tranform it to a php line: > >echo "<title>This is the title tag</title>"; Why would you do that, if you don't use any variable to output? echo "<title>This is the title tag</title>"; gives the same output as <title>This is the title tag</title> , if you use a php file. PHP is an embedded scripting language. So you don't have to write everything as echo "bla"; > >also transforming special characters (ex.: " to \"....) this can be done by simply to do a search and replace in your editor. > >Try to imagine why... > Stefan Ubbink -- 10:45am up 5 days, 19:47, 3 users, load average: 0.07, 0.28, 0.20 on IRIX64 antarctica 6.5 01221553 IP27

« previous php.general (#1821) next »