sure :
use romeo;
select *from address;
LOAD DATA LOCAL INFILE '/importaredb.txt'
INTO TABLE address
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
(orasul, strada, blocul);
regards,
dontu
Hi all,
I want connect a database of this program :
#!/usr/bin/perl -w
use DBI;
$user ="romeo";
$driver = "DBI:mysql:romeo";
$password = "123456";
$dbh =DBI->connect($driver,$user,$password) or die "\n Eroare ($DBI::err): $DBI::errstr\n";
$first = "firstname";
$second = "lastname"...
Hi all,
I want import a file in database and when i do that say me "DBI Error:Can't execute statement: File '\importaredb.txt' not found (Errcode: 2) at D:/Home/Romeo/Projects/alina.com/scripts/psql.pl line 113. "
where it must been this file save?
Hi all,
I want to introduce a hash in doc html and to press a button this hash it will to assume of prog perl and print by param keys/values.Can you help me somebody?
#!/usr/bin/perl
use strict;
use CGI;
print CGI::header();
my %disp = CGI::param('hash');
print"<b>Welcome</b>"...
Hi,
everyone
I have two file,one file html and two file cgi for a take over with file cgi of inside file html what can I do?
The two file must save in identical directory ?
File cgi
#!/usr/bin/perl -w
use CGI;
$query = new CGI;
print $query->header;
print $query->b("where did You...
I have a problem with connected at database,no running,
MySql is runnig, tables and field is create but i do perl nameprogram.pl it say :
DBI: connect('gigi',user'...)failer:Access denied for user 'user'@'localhost'(using password:YES) at perl-bigin.pl line 6
Eroare (1045): Access denied for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.