# Using a dropdown box to change PHP include() value

**URL:** <https://forum.kirupa.com/t/using-a-dropdown-box-to-change-php-include-value/160577>\
**Category:** programming\
**Created:** [August 27, 2005, 4:59am UTC](https://forum.kirupa.com/t/using-a-dropdown-box-to-change-php-include-value/160577 "2005-08-27T04:59:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bodom78](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@Bodom78](https://forum.kirupa.com/u/Bodom78)\
**Post date:** [August 27, 2005, 4:59am UTC](https://forum.kirupa.com/t/using-a-dropdown-box-to-change-php-include-value/160577/1 "2005-08-27T04:59:20Z")

</div>

Hey guys,

I am building a simple page with two drop down boxes, I was going to have each load in html documents into an IFrame on the same page, but I have seen that the PHP include() does the same thing and works on my server.

I was wondering if it was possible to have the dropdown box change the include() value when selected to load in a new html document into the same page while keeping the top banner and drop down boxes in place.

Cheers.
