I have code like this:
<?php
$kecuali = "6,8,9";
for ($x = 0; $x < 15; $x++) {
if ($x == $kecuali) {
continue;
}
echo "The number is: $x <br>";
}
?>
and result like this
The number is: 0
The number is: 1
The number is: 2
The number is: 3
The number is: 4
The number is: 5
The number is: 7
The number is: 8
The number is: 9
The number is: 10
The number is: 11
The number is: 12
The number is: 13
The number is: 14
Why are numbers 8 and 9 still in the result, unlike number 6? How can I fix this so that all 3 of the numbers don't appear in the result?