in reply to Re: Quote mark in string messing up mySQL INSERT
in thread Quote mark in string messing up mySQL INSERT
Of course, this might depend on the version of DBD::mysql that you use.sub insertAttribute { my ($serverID, $featureID, $value) = @_; my $sqlINS = "INSERT INTO attribute VALUES (?,?,?)"; $dbh->do($sqlINS, {}, "$serverID", "$featureID", "$value"); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re^2: Quote mark in string messing up mySQL INSERT
by paulbort (Hermit) on Dec 12, 2002 at 16:22 UTC | |
by mpeppler (Vicar) on Dec 12, 2002 at 20:18 UTC |