PHP code which creates the form