Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added link to submit & extended number array
  • Loading branch information
btn15001 committed Feb 1, 2017
1 parent 8068ee2 commit 6055c70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.php
Expand Up @@ -15,8 +15,8 @@
</h1></div>
<p><strong>Generate a list:</strong>
<?php
for ($number = 1; $number <= 10; $number++) {
if ($number <= 9) {
for ($number = 1; $number <= 20; $number++) {
if ($number <= 19) {
echo $number . ", ";
} else {
echo $number . "!";
Expand All @@ -26,14 +26,14 @@
<p><strong>Things you can do:</strong>
<?php
$things = array("Talk to databases",
"Send Cookies", "Evaluate fomr data", "Build dynamic webpages");
"Send Cookies", "Evaluate form data", "Build dynamic webpages");
foreach ($things as $thing) {
echo "<li>$thing</li>";
}
unset($thing);
?>
</p>
<p><strong>This jumbled sentence will change every time you click Submit!</strong></p>
<p><strong>This jumbled sentence will change every time you click <a href ="index.php">Submit!</a></strong></p>
<p>
<?php
$words = array("the ", "quick ", "brown ", "fox ", "jumped ", "over ", "the ", "lazy ", "dog ");
Expand Down

0 comments on commit 6055c70

Please sign in to comment.