• Manipulate array elements
  • Declare and initialize associative arrays
  • Iterate through an array
  • Find and extract elements and values
  • Sort, combine, and compare arrays
  • Understand multidimensional arrays
  • Use arrays in Web forms
Assignments and Due Dates


Assignments and Due Dates: View
CS2623 Coding Standards - requirements for all class assignments

Required Readings

PHP Programming with MySQL //Second Edition by Don Gosselin, et al
Chapter 6 Manipulating Arrays

Text Resources
     Errata Sheet
     Best Practices

Required Tutorials
Required Sample Code
The sample code is in a file which must be downloaded and extracted to location accessible by the server.
Supplemental Materials
  • Chapter 6: PowerPoint from Text     View (.ppt) | Print (.pdf)
Software

Same software as previously indicated.

Chapter Questions and Test Reviews

Chapter 6: Review Questions (.rtf file)
Test 2: Review Sheet

Required Assignments
  • SSP07: Arrays (Complete, upload to Apollo1, then submit URL in the LMS)
  • Weekly Quiz: Chapter 6 (Located in the LMS)
Professor's Class Notes and Comments

Similar to the chapter on Strings, once again PHP has a plethora of functions that are available for arrays. Be sure you know the important ones, the values they return, and the parameters.

This week there are again some instructor prepared sample files which can be downloaded for your use. The intention is provide a more simplistic approach than the Message Board application provided in Chapter 6. Most of the files can just be viewed through the server without looking at the underlying coding. However, you are certainly welcome to do both. The link is located in Sample Code panel above.

Chapter 6

p. 304
Review the sample code in 01_AddRemove.php

p.316
Review the sample code in 02_AssociativeArrays.php

p. 323
Review the sample code in 03_NavigatingArrays.php

p. 328
Review the sample code in 04_SearchingArrays.php.

p. 336
Review the sample code in 05_SortingArrays.php

p. 343
Review the sample code in 06_CombiningComparingArrays.php

p. 351
Review the sample code in 07_2Dimension_IndexedArray.php

p. 355
Review the sample code in 08_2Dimension_AssociativeArray.php

p. 359
Review the sample code in 09_WebFormArrays.php

Don't forget about the review questions and the weekly quiz in addition on to the Chinese Zodiac assignment.