renzo rizzato wrote:
> Hallo to all,
> I am trying to access my MySQL database using the following PERL
> script:
>
> use DBI;
> use CGI qw(:standard);
You should ALWAYS "use strict", and probably "use warnings" as well.
>
> print "Content-type: text/html\n\n";
>
> print "\n\n\n";
Bad HTML.
renzo rizzato wrote:
Hallo to all,
Hello,
I am trying to access my MySQL database using the following PERL script:
use strict;
use warnings;
use DBI;
use CGI qw(:standard);
print "Content-type: text/html\n\n";
print "\n\n\n";
1 $host = "xxx.xxx.xxx.xxx";
2 $database = "my_db_name";
3
Hallo to all,
I am trying to access my MySQL database using the following PERL script:
use DBI;
use CGI qw(:standard);
print "Content-type: text/html\n\n";
print "\n\n\n";
1 $host = "xxx.xxx.xxx.xxx";
2 $database = "my_db_name";
3 $user = "my_user_name";
4 $password = "m