PHP Arrays
Single, Multi-dimensional, Associative and Object Arrays in PHP 7
Seiten
2016
|
1st ed.
Apress (Verlag)
978-1-4842-2555-4 (ISBN)
Apress (Verlag)
978-1-4842-2555-4 (ISBN)
Gain an in-depth understanding of PHP 7 arrays. After a quick overview of PHP 7, each chapter concentrates on single, multi-dimensional, associative, and object arrays. PHP Arrays is a first of its kind book using PHP 7 that demonstrates inserting, appending, updating, and deleting array data.
This book also covers validation methods to insure that the data provided by a user is good before the data is entered into an array. You’ll see how PHP 7 try/catch modules are used to capture exceptions and errors that may be caused by invalid data.
The code examples demonstrate common real-world scenarios. Moreover, examples of every PHP 7 array function (over 75) are demonstrated. The appendix provides a two-dimensional array case study on the logical design of a checkers game.
PHP Arrays answers the following questions:
Why do we need arrays? When do we need to use arrays?
Are arrays efficient? Can arrays reduce coding time?
When do you use multi-dimensional and associative arrays?
What is an object array?
What You'll Learn
Handle array data from an HTML form
Manage array data from a text file
Deal with array data from a MySQL database
Who This Book Is For
Experienced PHP programmers or web developers using PHP.
This book also covers validation methods to insure that the data provided by a user is good before the data is entered into an array. You’ll see how PHP 7 try/catch modules are used to capture exceptions and errors that may be caused by invalid data.
The code examples demonstrate common real-world scenarios. Moreover, examples of every PHP 7 array function (over 75) are demonstrated. The appendix provides a two-dimensional array case study on the logical design of a checkers game.
PHP Arrays answers the following questions:
Why do we need arrays? When do we need to use arrays?
Are arrays efficient? Can arrays reduce coding time?
When do you use multi-dimensional and associative arrays?
What is an object array?
What You'll Learn
Handle array data from an HTML form
Manage array data from a text file
Deal with array data from a MySQL database
Who This Book Is For
Experienced PHP programmers or web developers using PHP.
Steve Prettyman is a college lecturer/instructor in web development/programming, specializing in PHP. He is also an experienced web developer and author.
1. PHP 7 Basics.- 2. Simple Arrays.- 3. Multi-dimensional Arrays.- 4. Associative and Object Arrays.- 5. PHP Functions – Changing, Spliting, Slicing, and Sorting Arrays.- 6. PHP Functions – Comparing and Merging Arrays.- 7. PHP Functions – Searching, Traversing, and Displaying Arrays.- A. Case Study – Playing Checkers.
Erscheinungsdatum | 03.01.2017 |
---|---|
Zusatzinfo | 9 Illustrations, color; XV, 161 p. 9 illus. in color. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 178 x 254 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Informatik ► Theorie / Studium ► Compilerbau | |
Informatik ► Web / Internet ► PHP | |
Schlagworte | Arrays • Code • PHP • programming • Software • Web Development |
ISBN-10 | 1-4842-2555-4 / 1484225554 |
ISBN-13 | 978-1-4842-2555-4 / 9781484225554 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
a beginner's guide to learning llvm compiler tools and core …
Buch | Softcover (2024)
Packt Publishing Limited (Verlag)
CHF 69,80