Php – Creating Helper function is not working in codeigniter 4
in autoload.php public $helpers = [ 'general' ]; helper is loaded and helper file defined 2 functions <?php function datetimeformat($date) { return date("Y-m-d H:i:s", strtotime($date)); } function randomnumber() { return "111"; } and in controller i called the helper but…