PHP work notes: Convert arrays to strings and convert strings to arrays.
An array needs to be stored in the database. It cannot be found. A specific function is used to convert it into a string for receiving the database.
$data = array( 'http://img4.bitautoimg.com/autoalbum/files/20110420/734/22494073435215_1565563_15.jpg', 'http://img4.bitautoimg.com/autoalbum/files/20110420/718/22494071876770_1565547_15.jpg', 'http://img2.bitautoimg.com/autoalbum/files/20110420/671/22494067187672_1565545_15.jpg');
Split with "," and convert it into a string
$data = array( 'http://img4.bitautoimg.com/autoalbum/files/20110420/734/22494073435215_1565563_15.jpg', 'http://img4.bitautoimg.com/autoalbum/files/20110420/718/22494071876770_1565547_15.jpg', 'http://img2.bitautoimg.com/autoalbum/files/20110420/671/22494067187672_1565545_15.jpg');$data = implode(",",$data);
Data After conversion:
http://img4.bitautoimg.com/autoalbum/files/20110420/734/22494073435215_1565563_15.jpg,http://img4.bitautoimg.com/autoalbum/files/20110420/718/22494071876770_1565547_15.jpg,http://img2.bitautoimg.com/autoalbum/files/20110420/671/22494067187672_1565545_15.jpg
Use the separator to cut the string:
$newdata = explode(",",$data);