We can add more fancy things now with the function ‘setdefault’ at
the beginning of the script.
the beginning of the script.
<?php
setdefault("window",array("bgcolor"=>"white"));
setdefault("table",array("cellpadding"=>"0"));
setdefault("text",array("size"=>"2"));
?>
These functions set the default attributes for the ‘window’,
‘table’ and ‘text’ objects. The result would be:
‘table’ and ‘text’ objects. The result would be:
<BODY BGCOLOR="white">
<P>
<TABLE WIDTH="650" CELLPADDING="0">
<P>
<FONT SIZE="2">
Is this simple enough? Ok. Many of you may ask: How about
much more complex situations? Let’s go over the source of
http://www.vhconsultants.com/index.htm
much more complex situations? Let’s go over the source of
http://www.vhconsultants.com/index.htm
line 1: <?php
line 2: include(“/apache/htdocs/template1.inc”);
line 2: include(“/apache/htdocs/template1.inc”);