Re: php tags half removed

  •  05-28-2008, 1:43 PM

    Re: php tags half removed

    If anyone else has this problem add these two lines into the LoadHTML function
     
            $s = str_replace("<?php","&lt;?php",$s);
            $s = str_replace("?>","?&gt;",$s);

    This will render the php code as a string, then make sure you replace them again in your write code and it all works. It's a total hack but seems to work fine.
View Complete Thread