[eluser]Unknown[/eluser]
I made a common.php library in application/libraries/common.php
Here is my function...
function is_odd( $int )
{
return( $int & 1 );
}
Does this already exist in CI? What a good way to browse the preexisting functions?
I want to call this function in my view file in a foreach loop. Is that good practice?