'client_stories', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $client_storiesRecord = @$client_storiesRecords[0]; // get first record // show error message if no matching record is found if (!$client_storiesRecord) { print "Record not found!"; exit; } ?>