Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->db->select('projectID');
- $this->db->from('project');
- $this->db->where('project.projectID', '1');
- $projectID = $this->db->get()->result();
- $this->db-> select('taskID');
- $this->db-> from('project_tasks');
- $this->db-> where('projectID', (string)$projectID);
- $tasks = $this->db->get()->result();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement