This is nifty. :3
Just a quick post, in the event that anyone had trouble getting this working, as I did...
The line:
PHP Code:
$article_content = $article_content."<form action='shoutbox2.php' method='post'>
Should be:
PHP Code:
$article_content = $article_content."<form action='shoutbox.php' method='post'>
And the section:
PHP Code:
// **********************************************************************
// Check and see if the user is logged in to the site
// **********************************************************************
$loginstatus = logincheck();
$isloggedin = $loginstatus[loginstatus];
$loggedinname = $loginstatus[username];
Seems to create an issue where everyone is named "Guest", so I simply removed it.