PHP 7 Solutions

Dynamic Web Design Made Easy

  • David Powers

Table of contents

  1. Front Matter
    Pages i-xxv
  2. David Powers
    Pages 1-6
  3. David Powers
    Pages 7-17
  4. David Powers
    Pages 19-37
  5. David Powers
    Pages 39-69
  6. David Powers
    Pages 71-107
  7. David Powers
    Pages 109-145
  8. David Powers
    Pages 147-178
  9. David Powers
    Pages 179-220
  10. David Powers
    Pages 221-256
  11. David Powers
    Pages 257-284
  12. David Powers
    Pages 325-348
  13. David Powers
    Pages 349-386
  14. David Powers
    Pages 387-406
  15. David Powers
    Pages 407-433
  16. David Powers
    Pages 435-468
  17. David Powers
    Pages 469-487
  18. David Powers
    Pages 489-525
  19. David Powers
    Pages 527-540
  20. Back Matter
    Pages 541-551

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 in this fourth edition of David Powers' highly-respected PHP Solutions: Dynamic Web Design Made Easy. This examples-laden new edition has been updated by David to incorporate the latest techniques and changes to PHP including the arrival of PHP 7.  In this book, 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.

You will:

  • 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 arrays
  • Work with the latest PHP 7 techniques, innovations, and best practices


PHP Solutions PHP 7 dynamic web design development MySQL examples practical David Powers friends of ED foED source code programming

Authors and affiliations

  • David Powers
    • 1
  1. 1.LondonUK

Bibliographic information