in reply to
Re: Creating Table and Inserting Data from CSV
in thread Creating Table and Inserting Data from CSV
This is really cool, How do I add the browse button for something like this? I tried a few things but can't figure it out???
//get the csv file
$file = $_FILES[csv][tmp_name];
$handle = fopen($file,"r");
The HTML
<form action="" method="post" enctype="multipart/form-data" name="form
+1" id="form1">
Choose your file: <br />
<input name="csv" type="file" id="csv" />
<input type="submit" name="Submit" value="Submit" />
</form>