Prime and Non-Prime Number in PHP

Prime and Non Prime Number in PHP

In this article, you will learn How to Create Prime and Non-Prime Number in PHP. <?php //tells the no is prime/non-prime $num=23; for($j=1;$j<=$num;$j++){ for($k=2;$k<$j;$k++){ if($j%$k==0){ break; } } if($k==$j){ echo