>>>>
>>>> I think there must be a solution, but I'm missing something here ..
>>>
>>>
>>> Check out the ob_* functions
>>>
>>> You could do this
>>>
>>> ob_start();
>>>
>>> include &q
t;>
>> echo $output;
>>
>> Jim
>>
>>>
>>> Thanks again!
>>>
>>> --
>>> Sorin Buturugeanu
>>> http://www.soin.ro
>>>
>>>
>>> On Wed, Jul 21, 2010 at 12:49 AM, Daevid Vincent
>>> wro
utput = ob_get_clean();
>
> echo $output;
>
> Jim
>
>>
>> Thanks again!
>>
>> --
>> Sorin Buturugeanu
>> http://www.soin.ro
>>
>>
>> On Wed, Jul 21, 2010 at 12:49 AM, Daevid Vincent
>> wrote:
>>>
>>>
p://www.soin.ro
>
>
> On Wed, Jul 21, 2010 at 12:49 AM, Daevid Vincent
> wrote:
>>
>> > -Original Message-
>> > From: Sorin Buturugeanu [mailto:m...@soin.ro]
>> > Sent: Tuesday, July 20, 2010 2:11 PM
>> > To: php-general@lists.php.net
>> &g
Vincent wrote:
>
> > -Original Message-
> > From: Sorin Buturugeanu [mailto:m...@soin.ro]
> > Sent: Tuesday, July 20, 2010 2:11 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] eval and HEREDOC
> >
> > Hello,
> >
> > I am having trouble w
> -Original Message-
> From: Sorin Buturugeanu [mailto:m...@soin.ro]
> Sent: Tuesday, July 20, 2010 2:11 PM
> To: php-general@lists.php.net
> Subject: [PHP] eval and HEREDOC
>
> Hello,
>
> I am having trouble with a part of my templating script. I'll
>
Hello,
I am having trouble with a part of my templating script. I'll try to explain:
The template itself is HTML with PHP code inside it, like:
And I have the following code as part of the templating engine:
$template = file_get_contents($file);
$template = "return <<
If in the HTML file (te
7 matches
Mail list logo