View Single Post
  #4  
Old 03-02-2009, 04:29 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?

The easiest way to do this is take from the download the file extrapage.php and make a copy and rename it. Then inside find and delete:

PHP Code:
//Loop out code
$i=0;
while (
$i 1) {

$article_title=mysql_result($result,$i,"title");
$article_date=mysql_result($result,$i,"date");
$article_content=mysql_result($result,$i,"content");

$i++;
}

$article_title stripslashes($article_title);
$article_content stripslashes($article_content); 
Then, for your content, use the $article_title and $article_content variables to show your content. So, for instance:

PHP Code:
$article_title "Page Title Here";
$article_content "Your page content goes here.  <a href='link.php'>This is a link.</a>  I can put content here. 
Basically, paste your content or HTML inside of $article_content to display it on the page. Be sure and replace double guotes " with single ' ones. :)
Reply With Quote