实际上我尝试了一个概念forloop我想隐藏2个值我不知道怎么做那个
<?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
答案 0 :(得分:0)
为什么给予&amp;&amp ;.删除OR。
if($imageFileType != "jpg" || $imageFileType != "png" || $imageFileType != "jpeg" || $imageFileType != "gif" )
{
答案 1 :(得分:0)
编辑行并运行:
if (($imageFileType!= "jpg") && ($imageFileType != "jpeg") && ($imageFileType != "JPG") && ($imageFileType != "gif") && ($imageFileType != "png"))