View Single Post
  #10  
Old 03-02-2009, 06:48 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 18,295
BMR777 is on a distinguished road
Default RE: What would i have to include?

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. :)
Reply With Quote