|
Posted by IchBin on 09/01/06 18:56
talthen.z-serwera.o2@nospam.pl wrote:
> Hello,
> I have a php file with php and html code. It looks like this:
>
> <html> ...<? ... ?> </html>
>
> If I had this file on disk then I could just include it, but I have this
> file in string.
> When I eval() the string I got a parse error. How can I execute it?
>
> Regards,
> Talthen
>
>
Make sure you have 'short_open_tag = on' in your php.ini or try this:
<html> ...<?php ... ?> </html>
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Navigation:
[Reply to this message]
|