Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8056687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:47:30+00:00 2026-06-05T08:47:30+00:00

So I query the posts, I get back everything that matches, then do my

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T08:47:32+00:00Added an answer on June 5, 2026 at 8:47 am

    Does it have to use the loop? If not then I would try:

    <? $posts_array = get_posts('post_type=property');
    print_r($posts_array); ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've used this MySQL query to get data: SELECT DISTINCT A.*, B.username FROM posts
I've found some similar questions on StackOverflow, but nothing that addresses what I'm looking
Attempting to get distinct count value back of the number threads in a query
How do I query posts from a category using more than 1 custom key/value
I need to do a query like this: SELECT wposts.ID FROM posts wposts WHERE
I am using the Moodle database to query the latest forum posts made by
I am using WP_Query to loop through a custom post type in wordpress. My
I'm trying to set up a query that shows the first post of each
I'm getting the following error after shuffling an array, then trying to loop through
Everything in my code works but $num_results... Book-O-Rama Search Results Book-O-Rama Search Results //create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.