So I query the posts, I get back everything that matches, then do my loop – but I want to do some sort of print_r type thing on each loop so I can see 100% of what data is being fetched. I’ve got a total brain block here.. Help!
Here is my query, and then my loop:
<?php query_posts('post_type=property'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php endwhile; ?>
Just can’t figure out how to echo out 100% of what was fetch through each iteration of the loop?
Thanks for the help everyone!
Does it have to use the loop? If not then I would try:
inside your loop
print_r($post);
I like to add the following to the top of any of my single php pages where I want to see the output…
and in the loop :-