Welcome Guest, Not a member yet? Register   Sign In
can someone help me change function to run codeigniter 4 ?
#2

Glad that you figured that out, but that's how i would write it


PHP Code:
public function vlDemos(int $parent_id 429){
  return $this->db->table('categories')
              ->select('id, name')
              ->where('parent_id'$parent_id)
              ->get()
              ->getResult();

Reply


Messages In This Thread
RE: can someone help me change function to run codeigniter 4 ? - by davis.lasis - 01-25-2022, 05:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB