| List: | MySQL and Perl | « Previous MessageNext Message » | |
| From: | Jochen Wiedmann | Date: | April 1 2002 11:11am |
| Subject: | Re: DBI::Mysql returns column name rather than value | ||
| View as plain text | |||
Zitiere David Adam <david@stripped>: > my $cola = $dbh->quote($colname); > my $bigmom = $dbh->quote('bigmom'); > my $query = "select $cola from bigmom"; Don't use quote in that case. quote is designed for constant values and not column names.
| Thread | ||
|---|---|---|
| • DBI::Mysql returns column name rather than value | David Adam | 1 Apr |
| • Re: DBI::Mysql returns column name rather than value | Jochen Wiedmann | 1 Apr |
