Re: calling include inside a function?
| From: | Louie Miranda | Date: | Fri, 12 Dec 2003 00:12:18 +0000 |
| Subject: | Re: calling include inside a function? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172540@lists.php.net to get a copy of this message | ||
Just put the include inside the function.
<?php
post();
function post() {
print "<font size=\"2\">1</font><br>";
include("oongae.txt");
echo "<br>";
print "<font size=\"2\">2</font><br>";
}
?>
-- -
Louie Miranda
http://www.axishift.com