Show sourcecode
The following files exists in this folder. Click to view.
form/
funk/
gr/
ovn_funk1.php
ovn_funk2.php
ovn_funk3.php
ovn_funk4.php
ovn_funk5.php
ovn_funk6.php
ovn_funk7.php
ovn_gr1.php
ovn_gr2.php
ovn_gr3a.php
ovn_gr3b.php
ovn_gr4.php
ovn_gr5.php
ovn_gr6.php
ovn_gr7.php
ovn_gr7.php
24 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html>
<body>
<?php
$primtalcount = 0;
$i = 2;
while ($primtalcount <= 100){
$primtalsant = 0;
for ($a = $i-1; $a > 1; $a--){
if ($i % $a == 0){
$primtalsant += 1;
}
}
if ($primtalsant == 0){
$primtalcount += 1;
echo $i. "<br>";
}
$i++;
}
?>
</body>
</html>