I have this code here in PHP using Codeigniter framework, I can\'t seem to get my head around class variables in this code seems completely different to C++.
I was wonde
use codeigniter's tiny feature called Flashdata which allows you to have temorarily store data between requests.
so your code would be
function send data{ $this->session->set_flashdata('recordid', $recordid); } function success{ $recordid = $this->session->flashdata('recordid'); }
got it ?