<?php $email = 'name@example.com'; $domain = strstr($email, '@'); echo $domain; // выводит @example.com
You have javascript disabled. You will not be able to edit any code.