Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-17-2010, 10:29 PM   PM User | #1
bauchrednera
New to the CF scene

 
Join Date: Jun 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
bauchrednera is an unknown quantity at this point
Calling an API with JSON

I need to create a PHP file that calls an API in JSON format. I tried using the following code and when I launch the page in my browser I get a missing plug-in message followed by plug-in cannot be found. Please help!

<div class="sidebar_1_col" id="*****_wrapper">
<a href="*****" target="_blank"><h2>*****</h2></a>

<div class="sidebar_1_col_top" id="*****_top"></div>
<div class="sidebar_1_col" id="*****_feed">

<embed src="http://www.*****.com/api/users/******/photos/?limit=20" height="245" width="224">

</div>
<div class="sidebar_1_col_bottom" id="*****_bottom"></div>
</div>
bauchrednera is offline   Reply With Quote
Old 06-17-2010, 10:55 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,650
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
How is this a PHP issue?
If your browser itself is triggering errors, that would be a Javascript issue. If your HTML includes errors, that would be a PHP trigger. But from what you have here, this is definitely a client side issue.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Users who have thanked Fou-Lu for this post:
bauchrednera (06-17-2010)
Reply

Bookmarks

Tags
api, embed, json, php, widget

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:31 PM.


Advertisement
Log in to turn off these ads.