Welcome Guest, Not a member yet? Register   Sign In
pop up window not getting post value
#8

Use row_array() in your model, not result_array(), since you only need to get one record.
PHP Code:
public function get_by_id1($markid)
{
 
   //$response = array();   // this line makes no sense
 
   $query $this->db->where('markid',$markid)->get('upload');
 
   return $query->row_array();  

Reply


Messages In This Thread
RE: pop up window not getting post value - by Wouter60 - 09-04-2018, 12:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB