php backend, create global variables to submit data