-1

我有一个这样的数组:-

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]中保存在数据库中,我怎么能读到这个。

4

1 回答 1

1

如果数组名称是arr你会写

arr[upload_data][filename]
于 2013-08-20T05:40:34.900 回答