Welcome Guest, Not a member yet? Register   Sign In
undefined function anchor()
#8

(11-06-2014, 11:22 PM)Narf Wrote:
(11-06-2014, 07:32 PM)Hobbes Wrote: i have had the same experience as InsiteFX

going :

$data = array(
'body' => anchor($categories[$i]['link'], $categories[$i]['title'])
);

always seems to not work at all or throws an error. but putting it like InsiteFX stated works just fine

Nonsense.
Proof: http://3v4l.org/EfXT3

@davy_yg's issue is that he's overriding CI_Controller::__construct(), but not calling parent::__construct() in the override. The constructor is what triggers the autoloader.

In full agreement, you must uncomment the call to the controllers parent.
Reply


Messages In This Thread
undefined function anchor() - by davy_yg - 11-04-2014, 02:19 AM
RE: undefined function anchor() - by sv3tli0 - 11-04-2014, 04:03 AM
RE: undefined function anchor() - by InsiteFX - 11-04-2014, 05:47 AM
RE: undefined function anchor() - by Narf - 11-06-2014, 04:20 PM
RE: undefined function anchor() - by Hobbes - 11-06-2014, 07:32 PM
RE: undefined function anchor() - by Narf - 11-06-2014, 11:22 PM
RE: undefined function anchor() - by Chroma - 11-08-2014, 08:39 AM
RE: undefined function anchor() - by Chroma - 11-08-2014, 08:38 AM
RE: undefined function anchor() - by sv3tli0 - 11-08-2014, 01:11 PM
RE: undefined function anchor() - by Hobbes - 11-08-2014, 01:59 PM
RE: undefined function anchor() - by sv3tli0 - 11-08-2014, 02:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB