PHP Programing language

How can Defining functions before or after calling them
Previous Home Next
<html>
<head>
<title>Defining functions before or after
calling them</title>
</head>
<body>
<?
function page_header() {
    print '<html><head><title>Welcome to
	my site</title></head>';
    print '<body bgcolor="#ffffff">';
}

page_header();
print "Welcome, $user";
page_footer();

function page_footer() {
    print '<hr>Thanks for visiting.';
    print '</body></html>';
}
?> 
</body>
</html>

 

Output:

Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: