Thanks to visit codestin.com
Credit goes to github.com

Skip to content

stokholmam/php101

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

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%