Hello,
I am embedding PHP to run a CMS into this page: huge-du.bz/home-test1.php and I keep receiving and error (please reference page). The general idea is to sort the articles from newest to oldest. I achieve this by using the “datum” field to store a date. So far it isn’t working, any help is GREATLY appreciated. Feel free to email me as well, [email protected]. Thanks 
Here is the code I am using:
[php]<?php
include(“apicms.php”);
$apicms = new ApiCmsClient(“http://www.huge-du.bz/apicms/index.php”, “2c7747910c4cec56ed4546be19268405”);
$options = array(“order” => “id DESC”);
$data = $apicms->category(“main”, $options);
$category = $data[‘category’];
$contents = $data[‘contents’];
?>
<?php echo $html->link("".date("d.m.Y", strtotime($content->getField("datum"))).": ".$content->name, "/more/".$content->uid, array("escape" => false)); ?>
<?php echo $content->excerpt; ?>
<?php echo $html->link("weiterlesen...", "/more/".$content->uid); ?><?php endforeach; ?> <?php } ?>[/php]