Sunday, 22 April 2018

Merging develop branch into master

Summary: you need to switch to your develop branch, pull the code from the remote repo, then merge it into master (locally) and push it back to remote repo (into master branch)
git checkout develop
git pull origin develop
git checkout master
git merge develop
git push origin master

Get only domain name from email using PHP.

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