hi, is this possible?
have tried heredocs and various bits from here or there but nothing works.
Perhaps i am constructing the whole thing the wrong way up.
this is a simplified version of what i am trying to do.. there s more php further up.
note that the php in the first row of the table works.
<html>
<body>
<?php
if($variable == 'something'){
echo '<table>
<tr>
<td>title:</td>
<td>'.$anotherVariable.'</td>
</tr>
<tr>
<td>title:</td>
<td>
<input type="radio" name="flag" <?php if (isset($flag) && $flag=="full") echo "checked";?> value="full"> full
<input type="radio" name="flag" <?php if (isset($flag) && $flag=="supported") echo "checked";?> value="supported"> supported
<input type="radio" name="flag" <?php if (isset($flag) && $flag=="minimal") echo "checked";?> value="minimal"> minimal
<input type="radio" name="flag" <?php if (isset($flag) && $flag=="none") echo "checked";?> value="none"> none
</td>
</tr>
</table>';
}
?>
</body>
</html>