0
$data[2]=UploadPic/'nike--1.jpg;UploadPic/'nike--1-8221-2.jpg;UploadPic/'nike--u65B0-8221-3.jpg

我想删除UploadPic。即:

 $data[2]=/'nike--1.jpg;/'nike--1-8221-2.jpg;/'nike--u65B0-8221-3.jpg

我该怎么办?

4

1 回答 1

5
$data[2] = str_replace("UploadPic","",$data[2]);
于 2012-05-08T02:39:40.977 回答