Monday, 14 April 2014

need to remove an apostrophe ‘ from a string


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

Get only domain name from email using PHP.

public function getDomainName ( $business_email ){ $domain_name = substr ( strrchr ( $email , "@" ), 1 ); echo $...