输入banner图图片脚本导航/分类

php字符串函数strstr,ltrim

  1. $url = 'sales@example.com';
  2. echo ltrim(strstr($url, '@'),'@');
  3. ?>
php, strstr, ltrim