Hello,
I am using CodeIgniter and in my controller I have
function index($var_22) {
// BLABLA
}
So if I dont pass the $var_22 variable I will get an error:
A PHP Error was encountered
Severity: Warning
Message: Missing argument 1 for Claims::index()
But I dont need to pass it all of the time, what should I use when I do not pass that variable in order not to get the error. (I dont want to turn off global error reporting)
Thanx