> Now the code: > #!/usr/bin/perl > use Strict; > use CGI qw(:standard); > use DBI;
Honour deserved for using 'strict', but you have forgotten to enable warnings. Strict ***MUST*** be lowercase otherwise on systems with case-sensitive filenames it will barf. > my $dbh = DBI->connect("DBI:mysql:database=nuug;host=localhost", tor, > password, {'RaiseError' => 1 }); I can't remember the syntax for this, but the string looks wrong to my eye. Don't forget to turn on autoflushing with "$|=1", or for long queries it will timeout. Try using: die "Managed to get to the waypoint!"; to find out what code is actually getting run - there is better ways, but this is a beginners list :) Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]