• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.