updated the php in the html at bottom