Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Creating Table and Inserting Data from CSV

by a6april (Initiate)
on Nov 08, 2012 at 14:17 UTC ( #1002909=note: print w/ replies, xml ) Need Help??


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>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2016-06-27 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (340 votes). Check out past polls.