Skip to main content
Chaptra
Cover of PHP Arrays

PHP Arrays

Written by Steve Prettyman

Not rated yet — tap a star to review it

168 pages, about 3 hours of reading

Chaptra reads alongside you — AI insights, chapter breakdowns and reader discussions for every book. Join free

About 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.

Read it with a club

Small groups reading the same books and talking as they go.

All clubs
An open book strung with small lights

News

  • 1 member
  • 1,813 discussions
  • Active 13h ago

Read PHP Arrays alongside people who are reading it too.

Chaptra Prime — paid clubs, every club feature, and unlimited reading support, for $5 a month or $60 once.

See Prime

Reading guide

Themes, characters and key ideas in PHP Arrays, written by Chaptra AI.

A reading guide for this book hasn't been written yet. Chaptra builds one the first time a reader opens it.

Chapter-by-chapter breakdowns, character arcs and the full thematic analysis come with a free account.

Discussions

No one has started one yet

Join

No discussions yet

Be the first to start a discussion about this book!

Sign up to start the discussion

Reviews

No reviews yet

Be the first to review this book!