r2b2_ry
12-13-2006, 05:56 PM
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?
//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
<!--- 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
//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
<!--- 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