Array
(
    [HTTP_HOST] => daro0009.edumedia.ca
    [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
    [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [PATH] => /sbin:/usr/sbin:/bin:/usr/bin
    [SERVER_SIGNATURE] => 
Apache/2.2.15 (Red Hat) Server at daro0009.edumedia.ca Port 80
[SERVER_SOFTWARE] => Apache/2.2.15 (Red Hat) [SERVER_NAME] => daro0009.edumedia.ca [SERVER_ADDR] => 66.11.155.7 [SERVER_PORT] => 80 [REMOTE_ADDR] => 54.225.41.203 [DOCUMENT_ROOT] => /var/www/html [SERVER_ADMIN] => root@localhost [SCRIPT_FILENAME] => /var/virtual/users/daro0009/htdocs/week-3/general-exercises.php [REMOTE_PORT] => 43512 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.0 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /week-3/general-exercises.php [SCRIPT_NAME] => /week-3/general-exercises.php [PHP_SELF] => /week-3/general-exercises.php [REQUEST_TIME_FLOAT] => 1506164038.153 [REQUEST_TIME] => 1506164038 )

The address is:
100 Main Street
State College PA 16801.
oranges

Soup for you


Notice: Array to string conversion in /var/virtual/users/daro0009/htdocs/week-3/general-exercises.php on line 56
Array
Array ( [Monday] => Clam Chowder [Tuesday] => White Chicken Chili [Wednesday] => Vegetarian )
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 [8] => 9 [9] => 10 )
Array ( [0] => a [1] => b [2] => c [3] => d [4] => e [5] => f [6] => g [7] => h [8] => i [9] => j [10] => k [11] => l [12] => m [13] => n [14] => o [15] => p [16] => q [17] => r [18] => s [19] => t [20] => u [21] => v [22] => w [23] => x [24] => y [25] => z )
Array ( [0] => 0 [1] => 2 [2] => 4 [3] => 6 [4] => 8 [5] => 10 [6] => 12 [7] => 14 [8] => 16 [9] => 18 [10] => 20 [11] => 22 [12] => 24 [13] => 26 [14] => 28 [15] => 30 [16] => 32 [17] => 34 [18] => 36 [19] => 38 [20] => 40 [21] => 42 [22] => 44 [23] => 46 [24] => 48 [25] => 50 [26] => 52 [27] => 54 [28] => 56 [29] => 58 [30] => 60 [31] => 62 [32] => 64 [33] => 66 [34] => 68 [35] => 70 [36] => 72 [37] => 74 [38] => 76 [39] => 78 [40] => 80 [41] => 82 [42] => 84 [43] => 86 [44] => 88 [45] => 90 [46] => 92 [47] => 94 [48] => 96 [49] => 98 [50] => 100 )
Array ( [0] => 0 [1] => 4 [2] => 8 [3] => 12 [4] => 16 [5] => 20 [6] => 24 [7] => 28 [8] => 32 [9] => 36 [10] => 40 [11] => 44 [12] => 48 [13] => 52 [14] => 56 [15] => 60 [16] => 64 [17] => 68 [18] => 72 [19] => 76 [20] => 80 [21] => 84 [22] => 88 [23] => 92 [24] => 96 [25] => 100 )
array(3) { ["Monday"]=> string(12) "Clam Chowder" ["Tuesday"]=> string(19) "White Chicken Chili" ["Wednesday"]=> string(10) "Vegetarian" }
Array ( [1] => apples [2] => bananas [3] => oranges [0] => magoes [5] => papaya )


Notice: Use of undefined constant Thursday - assumed 'Thursday' in /var/virtual/users/daro0009/htdocs/week-3/general-exercises.php on line 130

Notice: Use of undefined constant Friday - assumed 'Friday' in /var/virtual/users/daro0009/htdocs/week-3/general-exercises.php on line 131

Notice: Use of undefined constant Saturday - assumed 'Saturday' in /var/virtual/users/daro0009/htdocs/week-3/general-exercises.php on line 132
Array ( [Monday] => Clam Chowder [Tuesday] => White Chicken Chili [Wednesday] => Vegetarian [Thursday] => Chicken Noodle [Friday] => Tomato [Saturday] => Cream of Broccoli [Sunday] => Mushroom )
7
7
Array ( [Monday] => Clam Chowder [Tuesday] => White Chicken Chili [Wednesday] => Vegetarian [Thursday ] => Chicken Noodle [Friday] => Tomato [Saturday] => Cream of Broccoli )

The first element is Clam Chowder.

Monday's soup is Clam Chowder

Monday :: Clam Chowder.
Tuesday :: White Chicken Chili.
Wednesday :: Vegetarian.
Thursday :: Chicken Noodle.
Friday :: Tomato.
Saturday :: Cream of Broccoli.

The value is apples The value is bananas The value is oranges

Larry Ullman's Books and Chapters


The third chapter of my book is HTML Forms and PHP
The x chapter of my book is Basic Object-Oriented Programming
The y chapter of my book is Introduction to PHP


Notice: Array to string conversion in /var/virtual/users/daro0009/htdocs/week-3/general-exercises.php on line 267
PHP VQS: Array

Notice: Array to string conversion in /var/virtual/users/daro0009/htdocs/week-3/general-exercises.php on line 267
PHP ADV: Array

Notice: Array to string conversion in /var/virtual/users/daro0009/htdocs/week-3/general-exercises.php on line 267
PHP MYSQL: Array

PHP VQS
Chapter 1 is Getting Started with PHP
Chapter 2 is Variables
Chapter 3 is HTML Forms and PHP
Chapter 4 is Using Numbers
PHP ADV
Chapter 1 is Advanced PHP Techniques
Chapter 2 is Developing Web Applications
Chapter 3 is Advanced Database Concepts
Chapter 4 is Basic Object-Oriented Programming
PHP MYSQL
Chapter 1 is Introduction to PHP
Chapter 2 is Programming with PHP
Chapter 3 is Creating Dynamic Web Sites
Chapter 4 is Introduction to MySQL

array(3) {
  ["PHP VQS"]=>
  array(4) {
    [1]=>
    string(28) "Getting Started with
    PHP"
    [2]=>
    string(9) "Variables"
    [3]=>
    string(18) "HTML Forms and PHP"
    [4]=>
    string(13) "Using Numbers"
  }
  ["PHP ADV"]=>
  array(4) {
    [1]=>
    string(27) "Advanced PHP
    Techniques"
    [2]=>
    string(31) "Developing Web
    Applications"
    [3]=>
    string(30) "Advanced Database
    Concepts"
    [4]=>
    string(37) "Basic Object-Oriented
    Programming"
  }
  ["PHP MYSQL"]=>
  array(4) {
    [1]=>
    string(23) "Introduction to
    PHP"
    [2]=>
    string(20) "Programming with PHP"
    [3]=>
    string(30) "Creating
    Dynamic Web Sites"
    [4]=>
    string(25) "Introduction to
    MySQL"
  }
}