added comments to PHP/HTML.  Changed PHP slightly