Michael Stearne wrote:
Hi,
I have an file that contains PHP code..variables, db, etc. Is it
possible to include the evaluted contents of that file into a variable
in another, the calling PHP script?
Essentailly I am looking to do something like
include(myCode.php) - HTML Output - $myVariable.
I
return $ToSetTheVariable;
}
I hope this helps you...
-Mensaje original-
De: Michael Stearne [mailto:[EMAIL PROTECTED]
Enviado el: miƩrcoles, 23 de febrero de 2005 8:39
Para: php-general@lists.php.net
Asunto: [PHP] Putting Evaluated Contents Of Include File
Hi,
I have an file that contains PHP code..variables, db, etc. Is it
possible to include the evaluted contents of that file into a variable
in another, the calling PHP script?
Essentailly I am looking to do something like
include(myCode.php) - HTML Output - $myVariable.
I know could do this
3 matches
Mail list logo