View Single Post
Old 12-13-2006, 05:56 PM   #1
r2b2_ry
Green Mole
 
Join Date: Dec 2006
Posts: 1
indexing a dynamic page

being a noob at PHPDIg, im excited and very interested to know how i can index a dynamic page.. or is this possible with phpdig?


PHP Code:
 
//retrive news article and display it
$resource mysql_query("select article_body from articles where article_id = 1");
$array mysql_fetch_array($resource,MYSQL_ASSOC);

$article $array['article_body'];

echo 
"<div id='newscontent'>";
echo 
$article;
echo 
"</div>"
i remember seeing something like

Code:
 
<!--- PHPDIG INCLUDE --> 

//body of article here


 <!-- PHPDIG EXCLUDE -->
what does it mean?

this are few questions and im sure i still have lots of it!

thanks
r2b2_ry is offline   Reply With Quote