Ok, remove:
PHP Code:
$query = "SELECT * FROM article_content WHERE page = 'extra'";
$result = mysql_query($query);
$num = mysql_numrows($result);
and...
PHP Code:
$article_content = $bbcode->Parse($article_content);
// Run the BBCODE parser on the content
// Should we show the extra pages in the nav bar?
Also, this:
PHP Code:
$article_title = 'Sylonia';
Should be:
PHP Code:
$article_title = "Sylonia";
You need that one set of quotes that is there already, but the content you have goes inside the quotes and there shouldn't be any other quotes inside the main quotes. :)
Also, this:
PHP Code:
$article_content = "Your page content goes here. <a href='link.php'>This is a link.</a> I can put content here.
Should be:
PHP Code:
$article_content = "Your page content goes here. <a href='link.php'>This is a link.</a> I can put content here.";
That should solve things. :)