Author Topic

SathishKumar Subramanian

Wednesday 14 April 2004 10:02:55 am

Comment40339

Hi ALex,

I typed the following code inside the PHP page,

<?php

include_once( 'lib/ezutils/classes/ezhttptool.php' );
include_once( "lib/ezdb/classes/ezdb.php" );
include_once("kernel/classes/ezcontentobject.php");

$co = & eZContentObject::fetch($objectid);
$datamap = & $co->atrribute('data_map');
$sometext = $datamap['resource_language']->content(); //resource_language is an attribute
echo $sometext;

?>

Thanks & Regards,
Sathish