MatthewV has asked for the wisdom of the Perl Monks concerning the following question:
#!C:\Perl\bin\perl.exe use strict; use DBI; use CGI::Carp qq~fatalsToBrowser~; print "Content-type: text/html\n\n"; my ($DBH, $STH, @Quote, $Statement); $Statement = qq~select Quote, CharacterName, GameTitle from Finaldbo.R +andomQuote~; $DBH = DBI -> connect('dbi:ODBC:SQLServer', '', '') or die "$DBI::errs +tr"; @Quote = $DBH -> selectrow_array($Statement); print qq~$Quote[0] <br />--$Quote[1] <br />$Quote[2]~; $DBH -> disconnect;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Let's try this again. Script pulling mysterious blank row.
by CountZero (Bishop) on Jun 14, 2009 at 18:50 UTC | |
|
Re: Let's try this again. Script pulling mysterious blank row.
by Your Mother (Archbishop) on Jun 14, 2009 at 17:26 UTC | |
|
Re: Let's try this again. Script pulling mysterious blank row.
by dsheroh (Monsignor) on Jun 14, 2009 at 18:11 UTC | |
|
Re: Let's try this again. Script pulling mysterious blank row.
by Anonymous Monk on Jun 14, 2009 at 16:42 UTC | |
|
Re: Let's try this again. Script pulling mysterious blank row.
by Anonymous Monk on Jun 14, 2009 at 17:02 UTC | |
by ikegami (Patriarch) on Jun 15, 2009 at 01:03 UTC |