PHP Arrays - Steve Prettyman

PHP Arrays (eBook)

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

(Autor)

eBook Download: PDF
2016 | 1st ed.
XV, 161 Seiten
Apress (Verlag)
978-1-4842-2556-1 (ISBN)
Systemvoraussetzungen
26,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

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.


 



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


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 LearnHandle array data from an HTML form Manage array data from a text file Deal with array data from a MySQL databaseWho This Book Is ForExperienced 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.

Chapter 1 – PHP 7 BasicsChapter 2 – Simple ArraysChapter 3 – Multi-dimensional ArraysChapter 4 – Associative and Object ArraysChapter 5 – PHP Functions – Changing, Spliting, Slicing, and Sorting ArraysChapter 6 – PHP Functions – Comparing and Merging ArraysChapter 7 – PHP Functions – Searching, Traversing, and Displaying ArraysAppendix A – Case Study – Playing Checkers

Erscheint lt. Verlag 19.12.2016
Zusatzinfo XV, 161 p. 9 illus. in color.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Web / Internet PHP
Schlagworte Arrays • Code • PHP • programming • Software • Web Development
ISBN-10 1-4842-2556-2 / 1484225562
ISBN-13 978-1-4842-2556-1 / 9781484225561
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 1,5 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich