Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcwinn committed Mar 18, 2015
1 parent 3703170 commit 1ad2b45
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
PHP 101 coursework and homework

### Week 1

We learned basic PHP syntax, including statements like `if`, built-in functions like `strlen`, and even used a special array provided by PHP called `$argv`.

Depending on your home setup, you might open the `Terminal`, change directories to the repository, and run `php content/week1/main.php Charleston`.

You should see text similar to we had in class. Try it again with a two-word city, like `San Francisco`.

There's a problem. Our script only writes `San`!

1. Why is this happening? Where did `Francisco` go?
2. Can you find a way to accept a city containing any number of words? There's more than one right answer!

### Week 1 Extras

[Watch wat!](https://www.destroyallsoftware.com/talks/wat)

0 comments on commit 1ad2b45

Please sign in to comment.