Mejor creo yo respectar las comillas dobles o simples donde se requieran. Sólo es necesario "escapar" una comilla doble con \ cuando se use bajo un "entrecomillado" doble (o lo mismo con ' comilla simple).
Código PHP:
<?
$orden = "<table border=\"1\" cellpadding=\"0\" cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='77%' id='AutoNumber1'>
<tr>
<td width='25%'>Primer Dato</td>
<td width='27%'>Segundo Dato</td>
<td width='48%'>Tercer Dato</td>
</tr>
<tr>
<td width='25%'>PRIMER VARIABLE</td>
<td width='27%'>SEGUNDA VARIABLE</td>
<td width='48%'>TERCERA VARIABLE</td>
</tr>
</table>";
?>
(sólo puse un par de ejemplos .. el resto es igual).
Un saludo,