jessicakennedy1028

Better PHP dump

Sep 9th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.64 KB | None | 0 0
  1.     include ('cities_array_inc.php');
  2.     include ('dump.php');
  3.     echo dump($array, TRUE, TRUE);
  4.    
  5.     // You can use TRUE or FALSE for the options,
  6.    
  7.     // First is autohide, this will create a hidden div
  8.     // that will only open when you click on the gear in
  9.     // the top left corner of the screen.
  10.    
  11.     // Second is collapse, if you have a large array, it
  12.     // will collapse all of the array so you can expand
  13.     // each element of the array.
  14.    
  15.     // Go to: http://scripts.uskennedys.com to see examples
  16.     // and check out the community for support, tips, and
  17.     // to check out other really cool quick tips.
Add Comment
Please, Sign In to add comment