|
I'm moving much of my site over from .shtml files to .php files.
I had this code:
<td><textarea rows="5" name="S1" cols="60"><!--#include virtual="/includes/pctext.html" --></textarea></td>
And I changed it over to this:
<td><textarea rows="5" name="S1" cols="60">
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/includes/pctext.html');
?>
</td>
But, it's not working. It shows the include inside of the text box, but it cuts off everything on page below the box. Any ideas on how I can fix this? Thanks for any suggestions.
|