Work on preorder form and php