I'm somewhat new to PHP, been reading a few books and I've never seen a loop where it gets you all the even numbers(for example from 1 to 10), so I decided to try it myself:

```
for($i=0;$i<10 && $i % 2===0;$i++)
echo $i;

```

Tried with only double == as well.

And this, 

```
    $i=0;
do echo $i; while($i++<10 && $i % 2 ==0);

```

Can't seem to figure out how to use 2 conditions in the same statement.

Would appreciate the help!

Thanks.