teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

コードの更新

2016/06/09 12:36

投稿

Chelsea_10
Chelsea_10

スコア46

title CHANGED
File without changes
body CHANGED
@@ -22,9 +22,9 @@
22
22
 
23
23
  ```php
24
24
  foreach($mail as $m) {
25
- if(strpos($m,'gmail.com') !== false) {
25
+ if(strpos($m,'yahoo.co.jp') !== false) {
26
- $str =str_replace($m,"",$mail);
26
+ $str =str_replace($m,"",$mail);
27
- }
27
+ }
28
28
  }
29
29
 
30
30
  ```