arnasfomenko Posted February 13, 2018 Report Share Posted February 13, 2018 Hello, public function validate(array $get, array $post) { $cgOrder = $this->coingateCallback($this->ifSet($post['id'])); $return_status = false; $status = null; dd($cgOrder); Any ideas how to make cgOrder appear on the screen so I could see what values it holds? Quote Link to comment Share on other sites More sharing options...
Abdy Posted February 13, 2018 Report Share Posted February 13, 2018 I usually use print_r to see the content of a variable, is more human-friendly. public function validate(array $get, array $post) { $cgOrder = $this->coingateCallback($this->ifSet($post['id'])); $return_status = false; $status = null; // Debug print_r($cgOrder); exit; activa, Blesta Addons, WebhostingNZ.com and 1 other 4 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.