1 / 10

Chapter 2

Chapter 2. Programming with PHP Part 3. handle_form.php. Script 2.5 on page 56 http://cscdb.nku.edu/csc301/frank/ch02/form.html ch02 handle_form.php. Superglobal Arrays. $_GET, $_POST, $_REQUEST $_SERVER $_ENV $_COOKIE, $_SESSION. Indexed arrays. $student[0] = “Black”;

Download Presentation

Chapter 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 2 Programming with PHP Part 3

  2. handle_form.php • Script 2.5 on page 56 • http://cscdb.nku.edu/csc301/frank/ch02/form.html • ch02\handle_form.php

  3. Superglobal Arrays • $_GET, $_POST, $_REQUEST • $_SERVER • $_ENV • $_COOKIE, $_SESSION

  4. Indexed arrays $student[0] = “Black”; $student[1] = “Brown”; $student[2] = “Green”; $student[3] = “White”;

  5. Indexed arrays $student[] = “Black”; $student[] = “Brown”; $student[] = “Green”; $student[] = “White”;

  6. Associative Arrays $states = array ( ‘IN’ => ‘Indiana’, ‘KY’ => ‘Kentucky’, ‘OH’ => ‘Ohio’ ) echo $states[‘KY’];

  7. calendar.php • Script 2.6 on page 59 • http://cscdb.nku.edu/csc301/frank/ch02/script_02_06/calendar.php • ch02\script_02_06\calendar.php

  8. multi.php • Script 2.7 on pages 62-63 • http://cscdb.nku.edu/csc301/frank/ch02/multi.php • ch02\multi.php

  9. sorting.php • Script 2.7 on pages 66-67 • http://cscdb.nku.edu/csc301/frank/ch02/sorting.php • ch02\sorting.php

  10. calendar.php • Script 2.9 on pages 71-72 • http://cscdb.nku.edu/csc301/frank/ch02/calendar.php • ch02\calendar.php

More Related