I want to replace this using str_replace of PHP
'test
by
test
EDIT
Done by this :
$test = str_replace("'", "''", "'test");
I want to replace this using str_replace of PHP
'test
by
test
EDIT
Done by this :
$test = str_replace("'", "''", "'test");
Try Function STR_REPLACE
Syntax;
str_replace(find,replace,string,count)
EX:
$string = str_replace("'","''","'test");