W
Wilco van der Veer
Goodday,
I am trying to put values that may contain a ' (single quote) into a
sql database but it keeps crashing when the value contains a '. I have
tried using the quote function:
$string = "'s avond's";
my $clean_string = $dbh->quote($string);
But even then it crashes whenever a ' appears.
Does anyone have a solution for this?
Thanks,
Wilco van der Veer
I am trying to put values that may contain a ' (single quote) into a
sql database but it keeps crashing when the value contains a '. I have
tried using the quote function:
$string = "'s avond's";
my $clean_string = $dbh->quote($string);
But even then it crashes whenever a ' appears.
Does anyone have a solution for this?
Thanks,
Wilco van der Veer