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

How can I debug PHP cURL sessions?

[PHP] Create MySQL Trigger in PHP

Free icons