- eBook:PHP 7 Solutions: Dynamic Web Design Made Easy
- Author:David Powers
- Edition:4th ed. edition
- Data:August 23, 2019
- Pages:551 pages
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
Readers should have at least some prior exposure to web development using PHP.
Chapter 2: Getting Ready to Work with PHP
Chapter 3: How to Write PHP Scripts
Chapter 4: PHP: A Quick Reference
Chapter 5: Lightening Your Workload with Includes
Chapter 6: Bringing Forms to Life
Chapter 7: Using PHP to Manage Files
Chapter 8: Working with Arrays
Chapter 9: Uploading Files
Chapter 10: Generating Thumbnail Images
Chapter 11: Pages That Remember: Simple Login and Multipage Forms
Chapter 12: Getting Started with a Database
Chapter 13: Connecting to a Database with PHP and SQL
Chapter 14: Creating a Dynamic Photo Gallery
Chapter 15: Managing Content
Chapter 16: Formatting Text and Dates
Chapter 17: Pulling Data from Multiple Tables
Chapter 18: Managing Multiple Database Tables
Chapter 19: Authenticating Users with a Database