Skip to content

stokholmam/php101

This branch is 52 commits ahead of, 1 commit behind briguy410/php101:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

64a83fd · Mar 19, 2015

History

54 Commits
Mar 18, 2015
Mar 19, 2015
Apr 18, 2014
Mar 18, 2015

Repository files navigation

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!

About

php 101 coursework and homework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%