我有一个像这样的数组:
Array (
[upload_data] =>
Array (
[file_name] => 67429_133961013479569_306349156_n3.jpg
[file_type] => image/jpeg
[file_path] => D:/AppServ/www/d5n/rashaqa2/uploads/
[full_path] => D:/AppServ/www/d5n/rashaqa2/uploads/67429_133961013479569_306349156_n3.jpg
[raw_name] => 67429_133961013479569_306349156_n3
[orig_name] => 67429_133961013479569_306349156_n.jpg
[client_name] => 67429_133961013479569_306349156_n.jpg
[file_ext] => .jpg
[file_size] => 34.05
[is_image] => 1
[image_width] => 720
[image_height] => 540
[image_type] => jpeg
[image_size_str] => width="720" height="540"
)
)
我需要从这个数组[file_name]
中保存到数据库中,我该如何读取。
如果数组名称是arr
您会写
arr[upload_data][filename]
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句