Blog

First Post

This is my first Weblog Post (blog from here on out). Hopefully, I’ll be able to come up with some good resources for wireless web and Flash and endurance swimming…maybe even some Mac stuff. That reminds me, I have to add a catgory for Mac.

Did you know that it only costs $1.17 to mail a CD? That’s so cheap.

Week 2 Assignment โ€” Variables & Data Types (PHP CLI)

Title: Hello Variables
Due Date: Sept 3, 2025

Goal

Practice basic PHP variables, concatenation, and simple arithmetic in the command line.

Instructions

Beginner (Full Credit)

Create a file week2.php that:

  1. Defines a string variable with your name (e.g., $name = "Alex";).
  2. Prints a concatenation of "Hello world, " and your variable.
    • Example output:
      Hello world, Alex
      
  3. Defines two number variables (e.g., $a = 7; $b = 5;).
  4. Prints the sum of those two numbers.
    • Example output:
      The sum of 7 and 5 is 12
      

Advanced (Optional)

Add one of the following for practice:

This is a very basic update and I wonder if it will work.

CV

Greg Walsh

greg@gregwalsh.com

Education

Doctorate of Philosophy, Information Studies
University of Maryland, College Park
December 2012

Master of Science, Instructional Technology
Bloomsburg University
December 1998

Bachelor of Arts, Mass Communication
Bloomsburg University
May 1997

Published Works

Peer Reviewed Works

Hourcade, J. P., Alper, M., Bonsignore, E., Clegg, T., Fails, J. A., Walsh, G., … & Yip, J. (2023, June). Participatory Approaches to the Ethics of Emerging Technologies for Children. In Proceedings of the 22nd Annual ACM Interaction Design and Children Conference (pp. 795-797).