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){
        $a=['starting_time'];
        return $a;
    }

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.