I am using flat file db, not mysql so I can't use $limit
I need to limit the number of records to 1, if more than 1 then echos something else:
$result = $db->getall(month);
foreach($result as $item)
show_record($item);
}
I tried to use 'break' but it comes back 0(zero) records.
I tried using $i = 0...but it returned all or nothing
Any ideas?
Thanks