title: how to check a value of variable/data in codeigniter controller
body: <p>i want to ask how do i check/see the value inside of this <code>$datame</code>  in my code, i tried to var_dump it, i am using mozilla, it didn't show the value in console/network . Where or how do i check if there were data stored in my variable array. </p>
  
  <pre><code>public function facebook_request(){
          $this-&gt;load-&gt;library('facebook/src/facebook', array('appId' =&gt; '1027885817316593', 'secret' =&gt; '6db175699897b514bf4881955b2944bb'));
          $this-&gt;user = $this-&gt;facebook-&gt;getUser();
          if ($this-&gt;user) {
              $data['user_profile'] = $this-&gt;facebook-&gt;api('/me?fields=id,first_name,last_name,email,link,gender,locale,picture');
  
              // Get logout url of facebook
              $data['logout_url'] = $this-&gt;facebook-&gt;getLogoutUrl(array('next' =&gt; base_url() . 'index.php/oauth_login/logout'));
  
                  $datame = array(
                      'oauth_provider'=&gt; 'facebook',
                      'oauth_uid'     =&gt; $data['user_profile']['id'],
                      'first_name'    =&gt; $data['user_profile']['first_name'],
                      'last_name'     =&gt; $data['user_profile']['last_name'],
                      'email'         =&gt; $data['user_profile']['email'],
                      'gender'        =&gt; $data['user_profile']['gender'],
                      'locale'        =&gt; $data['user_profile']['locale'],
                      'picture'       =&gt; $data['user_profile']['picture']['data']['url'],
                      'link'          =&gt; $data['user_profile']['link']
                  );
                  $userData = $this-&gt;user_model-&gt;checkUser2($datame);
                  var_dump($datame);
                  exit();
  
              // Send data to profile page
              $this-&gt;load-&gt;view('admin/profile.php', $data);
  
          } 
  </code></pre>