foreach $FILES create post how to

Got it, so I changed the name of the file input from thumbnail to thumbnail[]. Then I wrapped the above paste in a function and added this part at the top of the file and it works perfectly: if ( $_FILES ) { $files = $_FILES[‘thumbnail’]; foreach ($files[‘name’] as $key => $value) { if ($files[‘name’][$key]) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)