Skip to main content
  • Book
  • © 2019

PHP 7 Solutions

Dynamic Web Design Made Easy

Apress

Authors:

  • Fourth edition of a classic guide to PHP web design, now updated for PHP 7
  • Promotes code reuse that can be incorporated directly into your sites, optimizing performance and adding functionality
  • An accelerated practical introduction to PHP web design and development

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (19 chapters)

  1. Front Matter

    Pages i-xxv
  2. Getting Ready to Work with PHP

    • David Powers
    Pages 7-17
  3. How to Write PHP Scripts

    • David Powers
    Pages 19-37
  4. PHP: A Quick Reference

    • David Powers
    Pages 39-69
  5. Lightening Your Workload with Includes

    • David Powers
    Pages 71-107
  6. Bringing Forms to Life

    • David Powers
    Pages 109-145
  7. Using PHP to Manage Files

    • David Powers
    Pages 147-178
  8. Working with Arrays

    • David Powers
    Pages 179-220
  9. Uploading Files

    • David Powers
    Pages 221-256
  10. Generating Thumbnail Images

    • David Powers
    Pages 257-284
  11. Getting Started with a  Database

    • David Powers
    Pages 325-348
  12. Creating a Dynamic Photo Gallery

    • David Powers
    Pages 387-406
  13. Managing Content

    • David Powers
    Pages 407-433
  14. Formatting Text and Dates

    • David Powers
    Pages 435-468
  15. Pulling Data from Multiple Tables

    • David Powers
    Pages 469-487
  16. Managing Multiple Database Tables

    • David Powers
    Pages 489-525
  17. Authenticating Users with a Database

    • David Powers
    Pages 527-540

About this book

Make your websites more dynamic by adding a feedback form, creating a private area where members can upload images that are automatically resized, or perhaps storing all your content in a database. David Powers has updated his definitive book to incorporate the latest techniques and changes to PHP, including the arrival of PHP 7. New features include the spaceship and null coalesce operators, generators, using array shorthand syntax for list(), array dereferencing, and array unpacking with the splat operator.

The problem is, you're not a programmer and the thought of writing code sends a chill up your spine. Or maybe you've dabbled a bit in PHP and MySQL, but you can't get past baby steps. If this describes you, then you've just found the right book. PHP and the MySQL database are deservedly the most popular combination for creating dynamic websites. They're free, easy to use, and provided by many web hosting companies in their standard packages. This book also covers MariaDB, a seamless replacement for MySQL that has been adopted on many web servers.

Unfortunately, most PHP books either expect you to be an expert already or force you to go through endless exercises of little practical value. In contrast, this book gives you real value right away through a series of practical examples that you can incorporate directly into your sites, optimizing performance and adding functionality such as file uploading, email feedback forms, image galleries, content management systems, and much more. Each solution is created with not only functionality in mind, but also visual design.

But this book doesn't just provide a collection of ready-made scripts: each PHP solution builds on what's gone before, teaching you the basics of PHP and database design quickly and painlessly. By the end of the book, you'll have the confidence to start writing your own scripts or—if you prefer to leave that task to others—to adapt existing scripts to your own requirements.Right from the start, you're shown how easy it is to protect your sites by adopting secure coding practices.

What You Will Learn

  • Design and build dynamic PHP-based web sites and applications 
  • Get started right away through practical examples that you can reuse
  • Incorporate PHP 7 elements including new ways of handling arrays 
  • Work with the latest PHP 7 techniques, innovations, and best practices

Who This Book Is For

Readers should have at least some prior exposure to web development using PHP.  


Authors and Affiliations

  • London, UK

    David Powers

About the author

David Powers is an Adobe Community Expert for Dreamweaver and author of a series of highly successful books on PHP, including PHP Solutions: Dynamic Web Design Made Easy and Foundation PHP for Dreamweaver 8. As a professional writer, he has been involved in electronic media for more than 30 years, first with BBC radio and television and more recently with the Internet. His clear writing style is valued not only in the English-speaking world; several of his books have been translated into Spanish and Polish. What started as a mild interest in computing was transformed almost overnight into a passion, when David was posted to Japan in 1987 as BBC correspondent in Tokyo. With no corporate IT department just down the hallway, he was forced to learn how to fix everything himself. When not tinkering with the innards of his computer, he was reporting for BBC television and radio on the rise and collapse of the Japanese bubble economy. Since leaving the BBC to work independently,he has built up an online bilingual database of economic and political analysis for Japanese clients of an international consultancy. When not pounding the keyboard writing books or dreaming of new ways of using PHP and other programming languages, David enjoys nothing better than visiting his favorite sushi restaurant. He has also translated several plays from Japanese.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access