How to change content depending on a <select>?
<p>I need help on 2 things since I'm not savy in PHP:
Content that changes depending on the:</p>

<pre><code>&lt;select&gt;
    &lt;option&gt;Option 1&lt;/option&gt;
    &lt;option&gt;Option 2&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I think this can be done using PHP, by giving names to the options, having PHP get the names, creating variables depending on those names and putting an "include" that shows the changing content.</p>

<p>Here's the model for the script:</p>

<p>READ Select <br/>
IF User selects "variable1, varialbe2,etc" <br/>
THEN Display "page1,page2,page3" <br/>
*The page changes within the page so that if the user wants to change it again they dont have to go back...Maybe this can be done by using:</p>

<pre><code>&lt;?php include 'page1.php'; ?&gt;
</code></pre>

<p>That content will include a button, and depending on that button, I want a text box to be filled with certain text.</p>

<pre><code>&lt;input type="button" value=""&gt;
</code></pre>

<p>Then Depending on the value of that button the PHP will put text into a textbox.
From what I've read this will be using $request and $post ...
(This of course is separate PHP)</p>
