<?php $user = strstr($email, '@', true); // Начиная с PHP 5.3.0 echo $user; // выводит name
You have javascript disabled. You will not be able to edit any code.