This is what I am seeing after i perform a var_dump on the new WP_Query I create:

object(WP_Query)#115 (45) {
  ["query_vars"]=>
  array(55) {
    ["post_type"]=>
    string(6) "charity"
    ["order"]=>
    string(3) "ASC"
    ["error"]=>
    string(0) ""
    ["m"]=>
    int(0)
    ["p"]=>
    int(0)
    ["post_parent"]=>
    string(0) ""
    ["subpost"]=>
    string(0) ""
    ... and so on ...
  }
}

The code I did previously create it's the following:

$charity = new WP_Query(array(
   'post_type' => 'charity',
   'order'     => 'ASC'
));

I have attempted to do this many variation of <?php echo $charity[INSERTSOMETHINGHERE']; ?> and absolutely nothing turns up. I do not use PHP much, but my client demands on the WordPress site. Wouldso would I access something similar to, for say, the post_type for the reason that Object?

Thanks!

$charity->query_vars['post_type']