Postingan lainnya
Gagal Terus Import Gan, Notice: Undefined index: csvfile in...
<?php
$con = mysqli_connect("localhost", "root", "", "tut");
if($con)
{
$file = $_FILES['csvfile']['tmp_name'];
$handle = fopen($file, "r");
$i=0;
while(($cont = fgetcsv($handle,1000,","))!==false)
{
$table = $_FILES['csvfile']['name'];
0
2 Jawaban:
input type ="file" nya dicheck apakah sudah bener. seperti ini..
<input type="file" name="csvfile">
0
Udah bener kok gan, Terimakasih udah mencoba jawab @ciloxz
0