Hello
I'm orginally a Perl programmer and starting a project in PHP. I have a question about the function statement. What I want to do is store all header info (such as the HTML) in a file called 'header.php' and retrieve those information using other PHP files. Here's an example:
header.php:
<?
function ($text, $title)
{
<HTML>
<TITLE>$title</TITLE>
<p align="center">$title</p>
<p align="left">$text</p>
</HTML>
}
?>
and in login.php, I have this:
<?php
include 'header.php';
header("SSSSSSS","SSS"
;
?>
However, it is not working. I was wondering if anyone could assist me on this. Thanks for your time. There is no Knowledge that is not power.
Age: 17
E-mail: projectnet01@yahoo.com
Company
not done yet) 
Status: Currently working with C++ for game developing. And making a musical band.
-Aaron
I'm orginally a Perl programmer and starting a project in PHP. I have a question about the function statement. What I want to do is store all header info (such as the HTML) in a file called 'header.php' and retrieve those information using other PHP files. Here's an example:
header.php:
<?
function ($text, $title)
{
<HTML>
<TITLE>$title</TITLE>
<p align="center">$title</p>
<p align="left">$text</p>
</HTML>
}
?>
and in login.php, I have this:
<?php
include 'header.php';
header("SSSSSSS","SSS"
?>
However, it is not working. I was wondering if anyone could assist me on this. Thanks for your time. There is no Knowledge that is not power.
Age: 17
E-mail: projectnet01@yahoo.com
Company
Status: Currently working with C++ for game developing. And making a musical band.
-Aaron