06-16-2009, 06:53 AM
|
#12 (permalink)
|
|
The Contributor
Join Date: Jun 2009
Location: Seattle, WA
Posts: 76
Thanks: 1
|
That lost me...
If you had a function that spit out a your login/join box, you would say:
PHP Code:
<?php
display_login();
?>
// display_login would be a div with a form. Right?
Personally I would have a file called loginbox.php with my form code, then if I needed that my code would be:
PHP Code:
<h1>Welcome please log in:</h1>
<?php include_once('loginbox.php'); ?>
If I did the function, I'd just have it <<<EOF out, then do my code...
|
|
|