Kewne 0 Junior Poster in Training

Hi guys,

I am learning how to code using epesi framework. Can anyone help me with this** Utils_RecordBrowserCommon::get_records** . I can't make it work it always gives me this error Message: RecordBrowser critical failure, terminating . I have followed on how the rb is used, this is my code

  $data = Utils_RecordBrowserCommon::get_records("emp", array('employee_id' => $record['emp']));

Currently I only have one record at my emp table, and here is my code on how I'm getting the data

   if($data != null){
    foreach($data as $a){
        return $a;

Can someone give me clarifications on this issue. Thank you in advance.