googleit
08-27-2006, 06:00 PM
hi
this is my code wich when i type myfile.php?action=blahblah
i will display the content in the code
<?
$action = $_GET['action'];
function test() {
echo '<a href="index.php"><font colour="#FFFFFF">home</font></a>
blah blah blah';
}
if ($action == "test") {
test();
}
?>
this works fine but i want to include a file so instead of having to type all of the content in the code it will be in that file
this is my code wich when i type myfile.php?action=blahblah
i will display the content in the code
<?
$action = $_GET['action'];
function test() {
echo '<a href="index.php"><font colour="#FFFFFF">home</font></a>
blah blah blah';
}
if ($action == "test") {
test();
}
?>
this works fine but i want to include a file so instead of having to type all of the content in the code it will be in that file