'stu_resources', /* 'where' => whereRecordNumberInUrl(1), 'loadUploads' => '0',*/ 'limit' => '1', )); $stu_resourcesRecord = @$stu_resourcesRecords[0]; // get first record // $stu_resourcesRecord = @$selected_stu_resourcesRecords[0]; // show error message if no matching record is found if (!$stu_resourcesRecord) { print "Record not found!"; exit; } ?> <?php echo $stu_resourcesRecord['title'] ?> <?php echo $stu_resourcesRecord['section'] ?> <?php include("../title_tag.php");?>