如何在php中追加从mysql中检索的图像的特定路径

时间:2014-05-06 12:30:15

标签: php mysql

{"image":[{
     "image_id":"4",
     "image_name":"http:\/\/www.dreamuretechnologies.com\/images\/ 1399356377_1155729519.jpg",
     "offer":"no way",
     "date_time":"0000-00-00 00:00:00"
     }],
  "success":1
}

以上结果来自json_encode(),所以我只想确保我的路径必须有效,在这种情况下它看起来像这样

" http://www.dreamuretechnologies.com/images/ 1399356377_1155729519.jpg"

我想这样:

" http://www.dreamuretechnologies.com/images/ 1399356377_1155729519.jpg"

0 个答案:

没有答案