On Monday, Aug 18, 2003, at 15:40 US/Pacific, Gyrus wrote:
> Can Dreamweaver deal with PHP code in this way? Say every page on the 
> site
> includes a header and footer at the top and bottom, would Dreamweaver 
> be
> able to understand this and allow editing?

Yes, it does. You have to ensure that the include is the only thing in 
your PHP directive tho':

        <?
        $v = "";
        include('header.php');
        ?>

That will not work but the following will work:

        <?
        $v = "";
        ?>
        <?
        include('header.php');
        ?>

And you also have to enable:
        Preferences > Invisible Elements > Server-Side Includes:
                Show Contents Of Included File

> If it can do it, which version?

I just tested it in DWMX. I don't know whether DW4 supported that.

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to