PM
Subject: [PHP] Implement PHP within a string
> Is it possible to run PHP that is embedded within a string? I have a file
> that is read into a string and returned to the browser, how can I run that
> PHP?
>
> i.e.
>
> function something() {
> // this is set earlier by
Is it possible to run PHP that is embedded within a string? I have a file
that is read into a string and returned to the browser, how can I run that
PHP?
i.e.
some html codegetForm("guest"); ?>some more
html code";
return ($str);
}
echo $obj->something();
--
Joshua E Minnie/CIO
[EMAIL PROTE
2 matches
Mail list logo