View Single Post
Old 06-16-2009, 06:53 AM   #12 (permalink)
rguy84
The Contributor
 
Join Date: Jun 2009
Location: Seattle, WA
Posts: 76
Thanks: 1
rguy84 is on a distinguished road
Default

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...
__________________
Ryan | Blog | Twitter
Send a message via AIM to rguy84 Send a message via MSN to rguy84 Send a message via Yahoo to rguy84 Send a message via Skype™ to rguy84
rguy84 is offline  
Reply With Quote