Forum Moderators: phranque
&comments=I+am+making+a+'comment'+about+your+site
foreach $key (keys %incoming) { $incoming{$key} =~ s/'+/''/g; }
This makes your select statement do
insert into tablename (comments) values ('I am making a ''comment'' about your site');
Actually I put it into the read/parse routine, but that's the idea and it works flawlessly, if you always quote your select values.