Here is the answer… (unless someone tells me it creaes another a problem…)
The "echo’ command can include multiple lines as the simple example below illustrates.
Note the single quote mark brackets the echo’d code since double quote marks are used within the echo’d code at various points…
So for me this example code folds perfectly and in my real case actually runs :-)
If anybody sees a problem with using the multiple line php echo to manage folds in mixed html and php code please let me know.
Example: (To try it paste it into Notepad ++ and select PHP as the language)
<?php // TABLE 1 – ROW 1 – DISPLAY PAGE HEADER – THEN DISPLAY DATA INPUT FORM
echo ’
<table style=“width: 1233px; height: 595px; text-align: left; margin-left: auto; margin-right: auto;” border=“1” cellpadding=“2” cellspacing=“2”>
<tbody>
<tr>
<td style=“vertical-align: top; width: 150px; text-align: center;”>
</td>
<td style=“vertical-align: top;”>
';
$page_name = “mypage.php”;
include ‘inc_header.php’;
echo ’
</td>
<td Style=“vertical-align: top; width: 150px;”>
</td> <!-- t1 tr1 td3 -->
</tr>
';
?>