$html_code .= include ("filetoinclude.txt");
| From: | Research and Development | Date: | Sat, 12 Oct 2002 15:50:05 +0000 |
| Subject: | $html_code .= include ("filetoinclude.txt"); | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-119735@lists.php.net to get a copy of this message | ||
Should this work?
$html_code .= include ("filetoinclude.txt");
I am populating a variable with html to be printred later as usual: $html_code .= "html....".
But I have some static html files that I want included in the html that I am storing in the variable. The HTML is in text files. The above code obviously does not work. I want to know if there is another way.
Thanks.