Jump to ratings and reviews
Rate this book

PHP Arrays: Single, Multi-dimensional, Associative and Object Arrays in PHP 7

Rate this book
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.

176 pages, Paperback

Published December 20, 2016

6 people are currently reading
6 people want to read

About the author

Steve Prettyman

20 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
2 (50%)
3 stars
2 (50%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
42 reviews1 follower
April 24, 2024
The book was engaging and filled with interesting insights. Overall, it was a straightforward read. I utilized its content when developing the website https://richdating.ru
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.