Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. function getSent(){
  2.  
  3. $this->db->where('submit_time', $this->uri->segment(3));
  4. $tempsent = $this->db->get('0_request_details'); //this is the problem here. If it doesnt find the row from the database above it doesnt know what to do here
  5.  
  6. if($tempsent){
  7.  
  8. $data['sent'] = $tempsent->row();
  9.  
  10. }
  11.  
  12. return $data;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement