this one page two page thing is confusing,
is this a file upload ?
taking address? what the h*ll are you talking about ?! :-)
mysql stuffs... perl is really sexy with db stuff.. here's a rough example.. (i said rough!)..
use DBI; my $CONECTION = DBI->connect("DBI:mysql:database=$databasename; host=$ +hostname", "$username", "$password", { RaiseError=>1, AutoCommit=>1}) + or die $DBI::errstr ; my $insert = $CONNECTION->prepare("INSERT INTO yourtable (col1, col2, +col3) values (?,?,?)"); # if you are gonna be executing the same thing more then once, # you want to 'prepare' it and then execute it as needed, # you dont wanna prepare and execute the same thing over # an over again, depends on your load.. $insert->execute('val1','val2','val3'); $insert->finish; $CONNECTION->disconnect;
In reply to Re: insert file into mysql
by leocharre
in thread insert file into mysql
by Khatri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |