Public feed
#603657
<?php # $pageID = "1";
include("Includes/config.php");
?>
<?php print $a[1]['strDetails']?>
<?php print $a[2]['strDetails']?>
in the config file its like this
<?php
$strsql = "SELECT id,title,description ";
$strsql .=" FROM pages_t_details ";
$strsql .=" WHERE id='$pageID'";
$conclass =new DataBase();
$rst= $conclass->Execute ($strsql,$strError);
while ($line = mysql_fetch_array($rst, MYSQL_ASSOC)) $a[$line['id']] = $line;
);
?>