in reply to Re^4: Perl and DBI and CGI
in thread Perl and DBI and CGI

Im finding it hard to help as you dont provide data for us!
What does this print?

use Data::Dumper; my $ref = $dbh->selectall_arrayref("select * from users") || die $dbh->errstr; print Dumper($ref);



This is not a Signature...

Replies are listed 'Best First'.
Re^6: Perl and DBI and CGI
by sOKOle (Acolyte) on Jun 27, 2005 at 13:30 UTC
      Essentaillay, you have the answer,
      my ($Name,$Email) = @{$ref}; print "My name is : $Name\n"; print "My email is : $Email\n";

      If this works ok in a terminal, and you still have problems, then you have problems with your html , and not your perl.


      This is not a Signature...
        Thank you, Thank you,
        another error is fixed
        :-))
        sOKOle