Investigating PHP
I am currently working my way through MySQL for Dynamic Websites by Larry Ullman (edition 4) for the second time.
I currently run php 5.3.10 ubuntu 3.10 and a mysql 5.5.35 database on apache 2.2.22 server on Ubuntu 12.04 in VirtualBox.
Chapter 10: Review and Pursue
edit_user.php March 2014The following php code is a combination of answers to problems 1,2 and 3 set in the Pursue section of Chapter 10 of PHP and MYSQL for Dynamic Web Sites (ed4) by Larry Ullman.
This is the second time I have published this script and it contains some new features from my original offering. I haven't shown the original because I am now embarrassed to own up to it!
I have been offering my tuppence worth on the forum for the book, but this solution is too long for that style of writing.
There are also solutions from other forum users which I have incorporated into my offering giving attribution where appropriate.
Original scripts, databases and css can be found at
http://www.larryullman.com/books/php-and-mysql-for-dynamic-web-sites-visual-quickpro-guide-4th-edition/.