Hi all:
I am trying to add this variable into a DB:
$promoter = $results2["Promoter"];
Problem is the variable has an apostrophe in it and I believe it is causing problems.
I thought addslashes was the remedy for this
$promoter = addslashes($results2["Promoter"]);
I tried
$promoter = str_replace("'","''",$promoter);
as well.
And I am using bound parameters.
Any direction appreciated!