Controller:
function act() {
//some code for connection
$input = (response from client);
return $input;
}
This is the first time the act will be called so as to connect to the client. Here I'll get the input variable with connection.
function a() {
$a = $this->act();
}
How would i get the $input
in this function without making the connections again?
function b() {
}
I have tried putting it the session flashdata but it's not working.
function a()
? – Þaw Jun 7 at 9:47$input
throughparameters
– Þaw Jun 7 at 9:55