Monday, 30 November 2015

use move_uploaded_file more than once

You can use copy to upload more than one file.
if(move_uploaded_file($file_loc_thumbnail,$folder_thumbnail.$Album_Thmbnail_Image)) //This is for 1st File { copy($file_loc_cover,$folder_cover.$Album_Cover_Image) ;This is for 2nd file copy($file_loc_cover,$folder_cover.$Album_Cover_Image) ;This is for 3rd file $sql="INSERT into pic (user_id ) VALUES ( '$id')"; mysql_query($sql); } else { }

Share

& Comment

0 comments:

Post a Comment

 

Copyright © Taha Codes™ is a registered trademark.