[Solved] Getting Error Function name must be a string - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: [Solved] Getting Error Function name must be a string (/showthread.php?tid=65783) |
[Solved] Getting Error Function name must be a string - wolfgang1983 - 07-23-2016 I am getting this error below PHP Code: Fatal error: Function name must be a string in C:\xampp\htdocs\cookie\application\controllers\Welcome.php on line 23 I am trying to set a if statement so if cookie time has expire will be delete any suggestions on better time expire check. PHP Code: <?php RE: Getting Error Function name must be a string - PaulD - 07-24-2016 Line 23, $current_time() should be $current_time without the brackets. RE: Getting Error Function name must be a string - wolfgang1983 - 07-24-2016 (07-24-2016, 04:05 AM)PaulD Wrote: Line 23, $current_time() should be $current_time without the brackets. Thanks silly mistake by me brain not thinking. |