'gaa_news_archive', 'limit' => '2', )); function maxWords($textOrHtml, $maxWords) { $text = strip_tags($textOrHtml); $words = preg_split("/\s+/", $text, $maxWords+1); if (count($words) > $maxWords) { unset($words[$maxWords]); } $output = join(' ', $words); return $output; } ?> 'comment_on_a_standard', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $comment_on_a_standardRecord = @$comment_on_a_standardRecords[0]; // get first record ?>