In php
$id = 1; //this is changeable
$var = 'hello'.$id;
$$var = 'result is here';
echo $$var; // here var is $hello1
echo $
hello1; // same
works fine in php and
codeigniter controller works in one function only.
1. how to use and update $$var all function with in controller ?
$$var
create first function .
update another function .
using another function .
How ??
Thanks.