[eluser]John_Betong[/eluser]
[quote author="btray77" date="1254288189"]Look above working was a function I gave source to above....
Working was what was to send the output out so that people were not staring at a blank screen for 3 minutes wondering if this is working or not..
-Brad[/quote]
If and only if, maybe you are using the code in a function then the working function requires to be called as follows:
Code:
$this->working('?');
Also in your function working(...) you can supply a $char default of '*' and this will make the following line redundant:
Code:
if (! $char) $char = '*';
Also if function working is in the same controller and is not being called from anywhere else then it is beneficial to prefix it with an underscore denoting that the function is within the same controller.
edit: added also and another also.