|
So can you place your functions into a seperate page and use an include? All the examples in the book show poor usage of them. I am looking for an actual real world Example of how and when to use them. One of the examples in the book is as follows:
function page_Header($color) {
print "<html><head><title>Welcome to My Site </title></head>";
print "<body bgcolor = " . ' $color ' . ">";
}
This is typed into the same web page as the call to the function. So how would I use this over again.
|