Jump to content

Search the Community

Showing results for tags 'api json array html css'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hello I have been working really hard on getting an API (184.173.18.228/api/profile/1000/0/Adam.Adams) to display anything and it worked with $json_output = json_decode($json); <?php $url = "http://184.173.18.228/api/profile/1000/0/Adam.Adams"; $json = file_get_contents($url, 0, null, null); $json_output = json_decode($json); echo '<pre>'; print_r("query results:"); print_r($json_output); '</pre>'; $obj = array('section', 'fname', 'lname'); var_dump($obj) ?> when I uploaded the php file and view it in browser - it looked like an array ( a lot more than displayed here)- stdClass Object ( [ProfileSections] => Array ( [0] => stdClass Object ( [sectionType] => ContactCard [sections] => Array ( [0] => stdClass Object ( [ContentType] => ProfileBio [Title] => [Description] => my next quest is to get this array into html that I can style - I am soooo stuck - do I save the array as a file then call the file to display? can take this output before it gets displayed in the browser with stylized output? thanks Rob
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.