Get this from the var_dump($_FILES);
array(1) { ["gambar"]=> array(5) { ["name"]=> string(29) "Air Freshener POWER SPRAY.jpg" ["type"]=> string(11) "image/pjpeg" ["tmp_name"]=> string(23) "C:\xampp\tmp\php10C.tmp" ["error"]=> int(0) ["size"]=> int(281900) } } www.banner.comArrayINSERT INTO banner(link, gambar) VALUES('www.banner.com','Array')
I already replace $gambar with $gambar but still do not see the data inserted to database yet.