PHP Arrays

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

Authors: Prettyman, Steve

  • A unique PHP 7 arrays book to market
  • Details when arrays should be used, and how they can improve efficiency
Show all benefits

Buy this book

eBook 20,22 €
price for Spain (gross)
  • ISBN 978-1-4842-2556-1
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 28,07 €
price for Spain (gross)
  • ISBN 978-1-4842-2555-4
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
  • The final prices may differ from the prices shown due to specifics of VAT rules
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.

 

About the authors

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 (7 chapters)

Buy this book

eBook 20,22 €
price for Spain (gross)
  • ISBN 978-1-4842-2556-1
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 28,07 €
price for Spain (gross)
  • ISBN 978-1-4842-2555-4
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
  • The final prices may differ from the prices shown due to specifics of VAT rules
Loading...

Recommended for you

Loading...

Bibliographic Information

Bibliographic Information
Book Title
PHP Arrays
Book Subtitle
Single, Multi-dimensional, Associative and Object Arrays in PHP 7
Authors
Copyright
2017
Publisher
Apress
Copyright Holder
Steve Prettyman
eBook ISBN
978-1-4842-2556-1
DOI
10.1007/978-1-4842-2556-1
Softcover ISBN
978-1-4842-2555-4
Edition Number
1
Number of Pages
XV, 161
Number of Illustrations and Tables
9 illustrations in colour
Topics