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

  • Home
  • SEARCH
  • 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 8742485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:30:36+00:00 2026-06-13T11:30:36+00:00

I have a great difficulty. I need to retrieve [title], [url] and [abstract] values

  • 0

I have a great difficulty. I need to retrieve [title], [url] and [abstract] values ​​from this multidimensional array.

Also, I have to store those values in mysql database.

thanks in advance!!!

Array
(
    [bossresponse] => Array
        (
            [responsecode] => 200
            [limitedweb] => Array
                (
                    [start] => 0
                    [count] => 20
                    [totalresults] => 972000
                    [results] => Array
                        (
                            [0] => Array
                                (
                                    [date] => 
                                    [clickurl] => http://www.torchlake.com/
                                    [url] => http://www.torchlake.com/
                                    [dispurl] => www.torchlake.com
                                    [title] => Torch Lake, COLI Inc, Highspeed, Dial-up, Wireless ...
                                    [abstract] => Welcome to COLI Inc. Chain O' Lake Internet. Local Northern Michigan ISP, offering Dialup Internet access, Wireless access, Web design, and T1 services in Northern ...
                                )

                            [1] => Array
                                (
                                    [date] => 
                                    [clickurl] => http://en.wikipedia.org/wiki/Torch_Lake_(Antrim_County,_Michigan)
                                    [url] => http://en.wikipedia.org/wiki/Torch_Lake_(Antrim_County,_Michigan)
                                    [dispurl] => en.wikipedia.org/wiki/Torch_Lake_(Antrim_County,_Michigan)
                                    [title] => Torch Lake (Antrim County, Michigan) - Wikipedia, the free ...
                                    [abstract] => Torch Lake at 19 miles (31 km) long is Michigan's longest lake and at approximately 18,770 acres (76 km²) is Michigan's second largest lake. Within it are several ...
                                )

this is the entire code that generates this array:

require("OAuth.php");

       $cc_key  = "";
       $cc_secret = "";
       $url = "";

       $args = array();
       $args["q"] = "car";
       $args["format"] = "json";
       $args["count"] = 20;

       $consumer = new OAuthConsumer($cc_key, $cc_secret);
       $request = OAuthRequest::from_consumer_and_token($consumer, NULL,"GET", $url, $args);
       $request->sign_request(new OAuthSignatureMethod_HMAC_SHA1(), $consumer, NULL);
       $url = sprintf("%s?%s", $url, OAuthUtil::build_http_query($args));
       $ch = curl_init();
       $headers = array($request->to_header());
       curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
       curl_setopt($ch, CURLOPT_URL, $url);
       curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
       $rsp = curl_exec($ch);
       $results = json_decode($rsp, true);
  • 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-13T11:30:37+00:00Added an answer on June 13, 2026 at 11:30 am

    With the limited information provided in the question, I think this is what you are trying to do:

    foreach($array['bossresponse']['limitedweb']['results'] as $result)
    {
      echo $result['title'] . '<br />';
      echo $result['url'] . '<br />';
      echo $result['abstract'] . '<br />';
      echo '------';
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used to have a great Firefox add-on for this and I can't remember
I have a great difficulty finding documentation on how to implement internationalization/localization with Apache
I have a table array which looks like this: tablearray = [ {'column1': 1,
I have a great problem about the rotation in three.js I want to rotate
I have a great question for you. I searched all the Google and MSDN
I have a great app for capturing shoutcast streams :-) . So far, it
I have a great concern in deploying the TinyMCE editor on a website. Looking
Scenario: We have a great deal of server environmental information (names, IPs, roles, firewall
Scenario 1: If I have a Great Grandpa ancestor (let's name him A); And
I have a colleague in my company whose opinions I have a great deal

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.