PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide

Welcome to the companion Web site for the first edition of the book PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, written by Larry Ullman and published by Peachpit Press. This page is specifically for the book’s first edition, published in May 2003 (ISBN 0-321-18648-6). The second edition was published in June 2005 (ISBN 0-321-33657-7). If you are using the second edition of the book, you should go to that page. The third  edition was published in December 2008 (ISBN 0-321-52599-x). If you are using the third  edition of the book, you should go to that page. The fourth edition of the book will be published in Summer 2011.

Beside the handful of pages dedicated to this edition of this book, there’s plenty of other content on LarryUllman.com that you might be interested in. Use the “Post Categories” links above to browse by general topic.

You can download the code for the book using the link below. If you have any questions or problems, I’d recommend using the book’s corresponding support forum, where you’ll get the fastest answer.

Downloads

Every script in the text is available here to be downloaded. Some things you should know:

  • Although these scripts are named or numbered as they are in the book, they do include any updates and changes as warranted by errors that were found after publication. Thus, if you are having problems with a particular script, download the most current version here or check the errata section.
  • The URLs as referenced in the book (e.g. http://www.DMCinsights.com/php/hello.php) are not available for execution online.
  • These are the scripts for the FIRST EDITION of the book. If you are using a different edition, click the appropriate link above to find the correct page.
  • These scripts have been formatted with line breaks that will work on most systems running most text editors. If you have difficulty opening a script, try:
    • adjusting the way your text editor treats text files
    • using a different text editor, if possible
    • posting a message to the online forum, asking for help

Complete Set of Scripts and SQL Commands

phpmysql_scripts_named.zip (135 KB, last modified 09/16/2009)
phpmysql_scripts_numbered.zip (127 KB, last modified 09/16/2009)

Extras

phpmysql_extra_images.zip (119 KB)

8 responses to PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide

  1. Hi. Larry,
    I was using your book to learn PHP for the very first time. I have a question for something that I am not very clear.
    On your book page 25, you use comma-separated arguments. I was not sure about what the single quote and comma do for the script. So I just try this following and it works.
    echo “You are purchasing $quantity widget(s) at a cost of $$price each.
    With tax, the total comes to $$total.”;
    It does contain double dollar sign like you mention page 25 but it does not cause any problem. PHP runs fine. Can you tell me why?

    Thank you

    • This is actually a change that occurred in PHP (I forget with what version). I’ve changed the wording in the fourth edition of the book, which I’m finishing now.

Trackbacks and Pingbacks:

  1. Cloud Fun « irom's Blog - October 26, 2011

    […] to refresh my programming skills. It took me 15 minutes to deploy PHP script from Larry Ullman book (Chapter 9) in the Orchestra.io cloud , see result. I started from  installing Git program version […]

  2. vebsite from scratch vs available tools | WebRupe - October 15, 2012

    […] I would recommend you read and understand HTML, CSS, JavaScript, XML, and a scripting language like PHP. Although I have to say that creating a website on your own from scratch gives you an opportunity […]

  3. Progressing nicely - May 29, 2013

    […] up PHP using Larry Ulman’s guide, though I have a sense it may take time to […]

  4. Progressing nicely - September 16, 2013

    […] up PHP using Larry Ulman’s guide, though I have a sense it may take time to […]

  5. Beginning Blogging and WordPress | thehackershack - December 9, 2013

    […] that have got me to this point. I will blog about them another time I hope. One of those books is Larry Ullman’s PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide. I decided not to write more as I didn’t want this post to get too […]

  6. Sejak bila? | Life with Fullness & Ponders - January 18, 2014

    […] terpaksa belajar sendiri dengan bersumberkan buku  yang dihadiahi abg sulung saya pada masa itu; PHP and MySQL for Dynamic Web Sites (lebih kurang macam inilah bukunya tapi zaman tu lain […]

Comments are great, but I'd strongly prefer any requests for assistance get made in the support forums. Thanks!