Maaf nak tanya. Kenapa saya punya file upload xjadi. salah kat mana ya? ni form <!DOCTYPE html> <html> <body> <form action=”upload.php” method=”post”> Select image to upload: <input type=”file” name=”fileToUpload” id=”fileToUpload”> <input type=”submit” value=”Upload Image” name=”submit”> </form> </body> </html> ni upload.php <?php $target_dir = “uploads/”; $target_file = $target_dir . basename($_FILES[“fileToUpload”][“name”]); $uploadOk = 1; $imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION)); // Check if ...
Tanya HostSinimo Latest Questions
Maaflah soalan newbie, Macam mana nk buat input checkbox dah siap check awal? Soalan pasal HTML
Biasa korang download template HTML kat mana? boleh tak kongsikan laman web yang ada template html percuma?
Macam mana ya nak buat bila select dropdown option automatik submit form? <select> <option>PILIHAN 1</option> </select> Contoh bila pilih pihan 1 automatik form akan submit.
Nak tanya pasal HTML sikit harap dapat bantu. Macam mana saya nk letak kandungan dalam table di tengah tengah ya? cth kalau excel boleh pilih kat sini kalau HTML nk bt mcm ...