Hallo,
gehört zwar nicht zu diesem Thema, aber bitte, bitte, verwende Platzhalter in den sql anweisungen, und mach dich schlau über sql injection.
my $q = $db->prepare("insert into table (a, b) values (?, ?)");
$q->execute('a', 'b');
# oder
$db->do("insert into table (a, b) values (?,?)", undef, 'a', 'b');
falls du einen guten grund hast, das nicht zu tun, dann verwende bitte, bitte, trotzdem vorher $db->quote() für die eingesetzten variablen.
gruss
--
Swiss Army Chainsaw
Terrorific!
Given a cow full of milk, should the milk un-cow itself, or should the cow milk itself?
Swiss Army Chainsaw
Terrorific!
Given a cow full of milk, should the milk un-cow itself, or should the cow milk itself?