# How to upload file, then return to form?

**URL:** https://forum.kirupa.com/t/how-to-upload-file-then-return-to-form/213249
**Category:** Uncategorized
**Created:** [January 18, 2007, 1:57am UTC](https://forum.kirupa.com/t/how-to-upload-file-then-return-to-form/213249 "2007-01-18T01:57:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![level4designs](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/level4designs/32/2659_2.png) [@level4designs](https://forum.kirupa.com/u/level4designs)
#### Post date: [January 18, 2007, 1:57am UTC](https://forum.kirupa.com/t/how-to-upload-file-then-return-to-form/213249/1 "2007-01-18T01:57:21Z")

</div>

Here is the problem, I’m not very good with PHP.

I have a php page with Form 1 and Form 2 on it.

Form 1 - has all the user information and submit button  
Form 2 - has a file upload feature and submit button

user uploads file by submitting form 2, it works by sending to another php file.

what I need is them to return and then be able to submit form 1 with all their information, including the name of the file, but the file exists in form 2 and I can’t submit two forms with one button???

am I being stupid, or do I need to have another approach at this?

any suggestions would be great.
