PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   indexing a dynamic page (http://www.phpdig.net/forum/showthread.php?t=2721)

r2b2_ry 12-13-2006 05:56 PM

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


All times are GMT -8. The time now is 01:06 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.