final-archive1

Author:
Publish date:
Updated on

$vid=$_GET['vid'];
$query=mysql_query("SELECT DISTINCT lb.field_byline_value,at.field_sub_title_value,n.title,at.field_coverdate_value,nr.body From content_field_byline lb, content_type_article at, node n, node_revisions nr Where lb.vid=at.vid and at.vid=n.vid and n.vid=nr.vid and at.vid=$vid");

while($display=mysql_fetch_object($query))
{
$vid=$display->vid;

$newDate = date("F,d,Y", strtotime($display->field_coverdate_value));

echo "

$display->title

";
echo "
";
echo "

$display->field_sub_title_value

";
echo "
";
echo "

Byline :$display->field_byline_value

";

echo "

$newDate

";
echo "
";
echo "

$display->body

";
}

?>

Related