note 104428 rejected from function.include by danbrown
| From: | danbrown@php.net | Date: | Wed, 15 Jun 2011 16:51:23 +0000 |
| Subject: | note 104428 rejected from function.include by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180562@lists.php.net to get a copy of this message | ||
Note Submitter: jdrjsbl at yahoo dot com
----
Hello,
New guy here (sorry), I'm trying this but does not work:
<?php
$foo='<html>
<head>
<title>some title</title>
</head>
<body>
<table>
<tr><td>
some text '.<?php include("file.php"); ?>.' some more text
</tr></td>
</table>
</body>
</html>';
echo $foo;
?>
I want to display file.php in between some html code.
Please help. I've spent about two hours looking but nothing.
Thank you in advance,
Jesse