<pre>

<?php

// add up the numbers from 1 to n:
$n 100;
$sum 0;
for(
$i=0$i<=$n$i++) {
  
$sum $sum $i;
}
echo 
"The sum is $sum";

?>

</pre>