PHP How to request the following link to json stay HTML It's rendered in Chinese ?
https://pixabay.com/api/?key=20762951-7eebd38ed836f5a1103ccfe38&q=yellow+flowers&image_type=photo
For example, put json Medium userImageURL Fill in the picture with the value src in ,user Value filled in p In the label , Then traverse it out .
<div> <ul class="imglb"> <li><img src="json userImageURL value " ><p>json user value </p></li> <li><img src="json userImageURL value " ><p>json user value </p></li> <li><img src="json userImageURL value " ><p>json user value </p></li> <li><img src="json userImageURL value " ><p>json user value </p></li> <li><img src="json userImageURL value " ><p>json user value </p></li> </ul></div><style>.imglb{ width:100%;}.imglb li{ list-style:none; float: left; text-align: center; margin: 10px;}</style>