Baz has asked for the wisdom of the Perl Monks concerning the following question:
I also tried the lines below$sth = $dbh->prepare("SELECT SUM(number) FROM $serverTable where name + = \'$surname\'");
$sth2 = $dbh->prepare("SELECT SUM(number) FROM $serverTabl_4 where na +me = \'O'Connor\'");
and these also returns null - what am I doing wrong??$sth2 = $dbh->prepare("SELECT SUM(number) FROM $serverTabl_4 where na +me = \'O\'Connor\'");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: escape characters for dbi
by merlyn (Sage) on Jun 10, 2002 at 21:07 UTC | |
|
Re: escape characters for dbi
by dsheroh (Monsignor) on Jun 10, 2002 at 21:10 UTC | |
|
Re: escape characters for dbi
by twerq (Deacon) on Jun 10, 2002 at 21:09 UTC | |
|
Re: escape characters for dbi
by Jenda (Abbot) on Jun 10, 2002 at 22:58 UTC |