Click here to Skip to main content
15,611,154 members
Home / Discussions / Web Development
   

Web Development

 
QuestionTelerik / Kendo grid using t-no-data Pin
littleGreenDude2-Apr-14 3:24
littleGreenDude2-Apr-14 3:24 
AnswerRe: Telerik / Kendo grid using t-no-data Pin
littleGreenDude4-Apr-14 1:15
littleGreenDude4-Apr-14 1:15 
QuestionLoading large XML file ( 222 MB) in HTML using java script problem Pin
sma123#31-Mar-14 3:55
sma123#31-Mar-14 3:55 
AnswerRe: Loading large XML file ( 222 MB) in HTML using java script problem Pin
User 171649231-Mar-14 4:44
professionalUser 171649231-Mar-14 4:44 
GeneralRe: Loading large XML file ( 222 MB) in HTML using java script problem Pin
sma123#31-Mar-14 20:47
sma123#31-Mar-14 20:47 
GeneralRe: Loading large XML file ( 222 MB) in HTML using java script problem Pin
User 171649231-Mar-14 21:59
professionalUser 171649231-Mar-14 21:59 
QuestionOptimize HTML markup size: How to exclude Microdata+ARIA? Pin
Sergejack30-Mar-14 21:25
Sergejack30-Mar-14 21:25 
Questionjson in HTML5 Pin
Jassim Rahma30-Mar-14 13:03
Jassim Rahma30-Mar-14 13:03 
Hi,

I have the following json in php.

I want to know how can achieve the same but in HTML?

I tried locating on the web but I was not able to find it..

PHP
<?php  
	$json_string = file_get_contents("http://api.wunderground.com/api/xxxxxxxxxx/geolookup/conditions/q/Bahrain.json");
	$parsed_json = json_decode($json_string);

	$latitude = $parsed_json->{'current_observation'}->{'display_location'}->{'latitude'};
	$longitude = $parsed_json->{'current_observation'}->{'display_location'}->{'longitude'};
	$weather = $parsed_json->{'current_observation'}->{'weather'};
	$temp_c = $parsed_json->{'current_observation'}->{'temp_c'};
	$relative_humidity = $parsed_json->{'current_observation'}->{'relative_humidity'};
	$wind_kph = $parsed_json->{'current_observation'}->{'wind_kph'};
	$feelslike_c = $parsed_json->{'current_observation'}->{'feelslike_c'};
	$visibility_km = $parsed_json->{'current_observation'}->{'visibility_km'};
	$icon = $parsed_json->{'current_observation'}->{'icon'};
?>



Technology News @ www.JassimRahma.com

AnswerRe: json in HTML5 Pin
Sergejack30-Mar-14 22:27
Sergejack30-Mar-14 22:27 
GeneralRe: json in HTML5 Pin
Jassim Rahma30-Mar-14 23:28
Jassim Rahma30-Mar-14 23:28 
AnswerRe: json in HTML5 Pin
Kornfeld Eliyahu Peter30-Mar-14 23:37
professionalKornfeld Eliyahu Peter30-Mar-14 23:37 
GeneralRe: json in HTML5 Pin
Sergejack31-Mar-14 1:27
Sergejack31-Mar-14 1:27 
GeneralRe: json in HTML5 Pin
Richard Deeming31-Mar-14 1:28
mveRichard Deeming31-Mar-14 1:28 
QuestionCloud computing and private cloud computing security Pin
Amr Muhammed29-Mar-14 1:45
Amr Muhammed29-Mar-14 1:45 
AnswerRe: Cloud computing and private cloud computing security Pin
User 171649229-Mar-14 2:55
professionalUser 171649229-Mar-14 2:55 
QuestionUpdatePanel + Timer = Not Working Pin
GenJerDan28-Mar-14 7:15
GenJerDan28-Mar-14 7:15 
QuestionHTML5's new inputs. Black boxes that make layout a living hell? Pin
Sergejack28-Mar-14 3:22
Sergejack28-Mar-14 3:22 
AnswerRe: HTML5's new inputs. Black boxes that make layout a living hell? Pin
Kornfeld Eliyahu Peter28-Mar-14 4:47
professionalKornfeld Eliyahu Peter28-Mar-14 4:47 
GeneralRe: HTML5's new inputs. Black boxes that make layout a living hell? Pin
Sergejack28-Mar-14 4:55
Sergejack28-Mar-14 4:55 
AnswerRe: HTML5's new inputs. Black boxes that make layout a living hell? Pin
Kornfeld Eliyahu Peter29-Mar-14 7:46
professionalKornfeld Eliyahu Peter29-Mar-14 7:46 
SuggestionRe: HTML5's new inputs. Black boxes that make layout a living hell? Pin
W Balboos, GHB8-Apr-14 5:05
W Balboos, GHB8-Apr-14 5:05 
QuestionMVC WebAPI Controller Parameter Null Pin
Kevin Marois27-Mar-14 10:04
professionalKevin Marois27-Mar-14 10:04 
AnswerRe: MVC WebAPI Controller Parameter Null Pin
Matthew Dennis28-Mar-14 5:12
sysadminMatthew Dennis28-Mar-14 5:12 
GeneralRe: MVC WebAPI Controller Parameter Null Pin
Kevin Marois28-Mar-14 6:16
professionalKevin Marois28-Mar-14 6:16 
GeneralRe: MVC WebAPI Controller Parameter Null Pin
_Maxxx_15-Apr-14 20:12
professional_Maxxx_15-Apr-14 20:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.