Welcome Guest, Not a member yet? Register   Sign In
return $fields = $db->getFieldNames('menus') not working!?
#1

What am I missing here (again).

I can't get a ResourceController to return the field names of a database table ... I can't seem to get my head around HOW to debug ANYTHING in CI except randomly typing stuff in ... WHAT am I missing in debugging CI 4?
Reply
#2

Did you setup the env file in the root where index.php is? You need to set the CI_ENVIRONMENT = development
there then save it as .env

Quick way old faithful:


PHP Code:
echo $whatEver;
exit(); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB