need to remove an apostrophe ‘ from a string


$newaddress = str_replace("'", "", "$address");
That should work, for other answers visit [php.net...]

Comments

Popular posts from this blog

Simple Laravel CRUD with Resource Controllers

[PHP] Create MySQL Trigger in PHP