Re: PHP & MS FRONTPAGE
| From: | Wayne Michel | Date: | Wed, 06 Dec 2000 20:33:49 +0000 |
| Subject: | Re: PHP & MS FRONTPAGE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28978@lists.php.net to get a copy of this message | ||
In frontpage
INSERT > ADVANCED > HTML
This adds the comments tags and is ignored by Frontpage.
Wayne
----- Original Message -----
From: "Matthew Ballard" <Matthew@TheAirport.com>
To: <php-general@lists.php.net>
Sent: Thursday, December 07, 2000 6:27 AM
Subject: Re: [PHP] PHP & MS FRONTPAGE
> FrontPage doesn't know to leave code in <? ?> or <?php ?> alone. If the
> version of PHP you are using supports the ASP tags option (<% %>), that
> would work, or there is another option I just thought of:
> [html code here]
> <!--
> <? (or <?php
> echo "--".">\n";
> [php code here]
> echo "<"."!--\n";
> ?>
> -->
> [more html]
>
> so that FrontPage would think the PHP code is actually just an HTML
> comment, but since the closing comment tag is being sent out (concatenated
> in the middle so FrontPage doesn't read it as a closing comment tag), the
> browser will just see a opening and closing tag so it will have no effect,
> and FrontPage will ignore that part of the code.
> Matthew
>
> At 05:09 PM 12/6/2000 +0200, you wrote:
>
> >I use to write php code mixed with plain html
> >but when i try to edit the pages using the frontpage tool
> >all the <php> code disappears.
> >
> >Why ???
> >
> >Thanks in Advance
> >
> >Simos
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-general-help@lists.php.net
> >To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net