MySQL Forums
Forum List  »  Perl

Re: Get data from Mysql with php
Posted by: laptop alias
Date: November 20, 2012 06:28AM

$string = '{"index":1,"image":"value.jpg","thumbnail":"value_t.jpg"}';
$obj = json_decode($string);
print $obj->{'image'};

Options: ReplyQuote


Subject
Written By
Posted
November 20, 2012 12:30AM
Re: Get data from Mysql with php
November 20, 2012 06:28AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.