RE: MySQL and Perl over the web

2004-08-16 Thread Bob Showalter
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.

Re: MySQL and Perl over the web

2004-08-14 Thread JupiterHost.Net
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

MySQL and Perl over the web

2004-08-14 Thread renzo rizzato
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