Using PHP Includes in Expression Web 2
Expression Web 2 makes working with PHP code in both Design and Code view easy. One of the features that aids in this is the ability to view include files in the design surface of Expression Web 2. The PHP Include feature yields results similar to a Dynamic Web Template.
In this exercise, you will move elements from within a page to a separate file, and then include the content of that file back into the page dynamically by using the PHP Include feature.
Note
USE the CH12 sample site you modified in the previous exercise.
OPEN the CH12 site if it isn’t already open.
In the Folder List, double-click the MyPHP.php ...
Get Microsoft® Expression® Web 2 Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.