Code for the book "PHP and MySQL for Dynamic Websites: Visual QuickPro Guide" Fifth Edition
Branch: master
Clone or download
Latest commit 68c8775 Nov 16, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
ch01 last edits Nov 11, 2017
ch02 last edits Nov 11, 2017
ch03 progress Jul 24, 2017
ch08 edits Jul 10, 2017
ch09 last edits Nov 11, 2017
ch10 edits Jul 10, 2017
ch11 last edits Nov 11, 2017
ch12 progress Jul 24, 2017
ch13 last edits Nov 11, 2017
ch14 last edits Nov 11, 2017
ch15 new files Jul 24, 2017
ch16 last edits Nov 11, 2017
ch17 edits Jul 27, 2017
ch18 edits Jul 27, 2017 initial commit (from 4th ed) Apr 22, 2017
license.txt initial commit (from 4th ed) Apr 22, 2017
sql.sql there's no ch 19 May 24, 2018

Hello and kudos for actually reading the README file!

First of all, thank you for your interest in my work. It is most appreciated. The file you have downloaded is associated with the book:

PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (5th Edition)
Written by Larry Ullman
Published by Peachpit Press 2017
ISBN: 0-321-xxxxx-x

Second, if these scripts don't match those in the book you have, then you've most likely downloaded the wrong scripts. Each book I've written has its own section at the website. Each edition of a title also has its own section at that site. The proper URL for the book you have will normally be on the book of the book, in the book's Introduction, and frequently mentioned elsewhere within the text. Double-check that URL, then go to the corresponding website. Each page on the website also clearly states the book title and edition for which it applies.

Third, these scripts may contain minor corrections compared to those in the book, correcting a mistake found after the book was published.

Fourth, these scripts have been formatted with line breaks that will work on most systems and most text editors. If you have difficulty opening a file, including this one (for example, the formatting is all messed up), try adjusting the way your text editor treats text files or using a different text editor, if possible. In particular, Notepad on Windows is a pretty lousy text editor.

Fifth, if you have problems with these scripts, it's most likely NOT a problem with the script but rather a problem with how it's being used or the server configuration. Turn to the book's supporting forum, at, for assistance.

Finally, readers occasionally wonder about the legalities of using these scripts in active sites. The only real restriction is that, in accordance with copyright law, you cannot copy or redistribute any of the code in the book (and, therefore, any of the code in this set of downloaded files). I am not a lawyer, but I interpret this to mean you cannot literally photocopy or scan the book's pages. You also cannot make the code available to others in paper or digital form (i.e., as a downloadable or copy-able item on a server).

Beyond that restriction, I feel that you're pretty much allowed to do whatever you want. Can you actively use the code on your site? By all means. Can you use it in projects you've been hired to do? Sure. The fact of the matter is that I don't think anyone could take the code out of the book verbatim and use it on a fully-functional, live site (which is to say, I expect you'll have to do some work to adapt these scripts to your needs). If you want to give me some kind of credit, that's great. Just point people to the book or the book's corresponding website.

As always, if you have any questions, you'll get the fastest possible response by using the book's corresponding forum, found at I also highly encourage everyone to sign up for my newsletter (see, to stay informed on my book news and technology updates, to win free books, to get your questions answered, and more.

Thanks, Larry Ullman