Quoting "Chris W. Parker" <[EMAIL PROTECTED]>:
> And I completely don't understand Option #2. What does body() do and
> why
> do you call it? Can you show some pseudo code to help us (or maybe
> it's
> just me) understand how Option #2 works?

Browser calls index.php

--
#index.php

programming tasks......

$results = results of above;

function body() {
  # info, content, etc.
  global $results;
  echo $results;
}

require "template.php";
--

--
#template.php

prints header stuff....

body();

prints footer stuff....
--

Does that make any sense?


-- 
Joel Konkle-Parker
Webmaster [Ballsome.com]

Phone     [662-518-1636]
E-mail    [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to