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

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.

 

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

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.

 

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

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

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

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

by Steve Prettyman

eBook1st ed. (1st ed.)

$24.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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.

 


Product Details

ISBN-13: 9781484225561
Publisher: Apress
Publication date: 12/19/2016
Sold by: Barnes & Noble
Format: eBook
Pages: 161
File size: 453 KB

About the Author

Steve Prettyman is a college lecturer/instructor in web development/programming, specializing in PHP. He is also an experienced web developer and author.

Table of Contents

Chapter 1 – PHP 7 Basics Chapter 2 – Simple Arrays Chapter 3 – Multi-dimensional Arrays Chapter 4 – Associative and Object Arrays Chapter 5 – PHP Functions – Changing, Spliting, Slicing, and Sorting Arrays Chapter 6 – PHP Functions – Comparing and Merging Arrays Chapter 7 – PHP Functions – Searching, Traversing, and Displaying Arrays Appendix A – Case Study – Playing Checkers
From the B&N Reads Blog

Customer Reviews