php 値 ---オンラインで待機します
echo $images
出力は次のとおりです
{"image_intro":"images/f201205281934101426092871.jpg","float_intro":"","image_intro_alt":"", " image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}
image_inrtoなどの中にある値を取り出す方法
-----解決策---------
json_decode 後、再度取得します。
------解決策---------
まず、json形式を配列に変換します
------解決策------------------
jsonという形式があることをご存知ですか?
$str='{"image_intro":"images/f201205281934101426092871.jpg","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":" ","image_fulltext_alt":"","image_fulltext_caption":""}'; $arr=json_decode($str,true); echo $arr['image_intro'];