arnasfomenko Posted February 13, 2018 Report 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
Abdy Posted February 13, 2018 Report 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; Blesta Addons, activa, Michael and 1 other 4 Quote
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.