如何隐藏for循环中的值


How to hide the values in for loop

实际上我尝试了一个循环概念,我只想隐藏两个值,我不知道如何做一个

<?php
  for($i=0;$i<=20;$i++){
   echo $i;
  }
//if $i=10 means hide and $i=15 means hide this value remaining value i want to show how to do

为什么给予&amp;。用OR移除。

if($imageFileType != "jpg" || $imageFileType != "png" || $imageFileType != "jpeg" || $imageFileType != "gif" ) 
{

编辑行并运行:

if (($imageFileType!= "jpg") && ($imageFileType != "jpeg") && ($imageFileType != "JPG") && ($imageFileType != "gif") && ($imageFileType != "png"))