note 31929 deleted from tutorial.firstpage by betz

From: Date: Sat, 01 May 2004 19:46:42 +0000
Subject: note 31929 deleted from tutorial.firstpage by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-69087@lists.php.net to get a copy of this message
Note Submitter: W2k ---- If you're using Microsoft FrontPage for creating PHP-enabled web pages, keep the following in mind: FP _will_ screw up some PHP code, especially when mixing PHP and HTML (as you often will in echo statements), because of it's built-in HTML error correcting routine. The way to avoid this is putting webbot tags around your PHP code: <!--webbot bot="HTMLMarkup" startspan --> <?php echo "<img src='$image' width='$width' height='height'>\n"; ?> <!--webbot bot="HTMLMarkup" endspan --> This forces FrontPagfe to skip the error checking for the enclosed section, and your PHP will show up in the WYSIWYG editing mode as a little yellow box with a question mark in it.

« previous php.notes (#69087) next »