PHP & MySQL for Dummies, 4th Edition PHP programs to download

To download a PHP program, right click on it and select "save Target as" or "Save Link as".

Note: After downloading the files, be sure the file has the correct extension name before running a script. In general, the extension should be .php or .inc. The .php files you download will have the extension .phps, so you need to change the extension to .php before running the scripts. Also, in some browsers, the extension may default to .txt or .html .

All Programs - Download a zip file containing all the PHP programs from the book.

ChapterListingFile Name
Ch02 2-1 test.php
Ch02 2-2 mysql_test.php
Ch06 6-1 hello.html
Ch06 6-2 hello.php
Ch08 8-01 petDisplay.php
Ch08 8-02 petDescripFor.php
Ch08 8-03 getdata.php
Ch08 8-04 getPets.php
Ch08 8-05 processform.php
Ch08 8-06 displayForm.php
Ch08 8-07 displayAddress.php
Ch08 8-08 buildSelect.php
Ch08 8-09 dateSelect.php
Ch08 8-10 buildRadio.php
Ch08 8-11 buildCheckbox.php
Ch08 8-12 checkBlank.php
Ch08 8-13 checkAll.php
Ch08 8-14 displayTwoButtons.php
Ch08 8-15 processTwoButtons.php
Ch08 8-16 displayPhone.php
Ch08 8-17 savePhone.php
Ch08 8-18 updatePhone.php
Ch08 8-19 uploadFile.php
Ch08 8-20 form_upload.inc
Ch09 9-1 changePhone.php
Ch09 9-2 sessionTest1.php
Ch09 9-3 sessionTest2.php
Ch11 11-01 PetShopFront.php
Ch11 11-02 PetCatalog.php
Ch11 11-03 ShowPets.php
Ch11 11-04 ChoosePetCat.php
Ch11 11-05 ChoosePetName.php
Ch11 11-06 NewCat_form.inc
Ch11 11-07 NewName_form.inc
Ch11 11-09 functions.inc
Ch11 11-10 AddPet.php
Ch11 11-na misc.inc
Ch12 12-01 PetShopFrontMembers.php
Ch12 12-02 Login_reg.php
Ch12 12-03 login_form.inc
Ch12 12-04 New_member.php
Ch12 12-na function12.inc
Ch12 12-na dogs.inc