Php kodu, döngü foreach bir koşul eklemek

0 Cevap php

Nasıl bu kod işi yapabilir? TY!

$site = '1'

    $mysites = array('1', '2', '3', '4', '5', '6');
            foreach($mysites as $mysite) 
            {
            echo $mysites;  **but not the site with value 1**
            }

0 Cevap