I'm working with a .PHP file which holds a form.

this form allows the user to choose:
-A Price Range

or input:
- Search Keywords
- Search Location

when the user presses the submit button,
content displayed from another .PHP file is updated.

Is there a way for me to split a form like this, up into different php files for each function of the form. For example, one .PHP file for categories, subcategories, search keywords, etc...


<select name="category">
<option> </option>

<select name="subcategories">

<select name="priceRange">

<label class="keywordSearch">
<input> </input>

<label class="locationSearch">

<input type='button'>Search</input>