jc_gmk
03-26-2008, 10:19 AM
Does anyone know if I can use a function on an included file as I can't seem to get it to work.
This is what i'm trying:
function dosomething() {
my_function_code; }
dosomething(include('mypage.php'));
The included page would look something like:
<div class="mystyle">
Some text here which will be affected by the function
</div>
This is what i'm trying:
function dosomething() {
my_function_code; }
dosomething(include('mypage.php'));
The included page would look something like:
<div class="mystyle">
Some text here which will be affected by the function
</div>