Note that there are some explanatory texts on larger screens.

plurals
  1. POredirecting based on a php dropdown form
    primarykey
    data
    text
    <p>so I want to direct users to different pages based off their choice of 2 different down down menus</p> <p>so if we have:<br> Menu 1<br> girl<br> boy</p> <p>and<br> Menu 2<br> blue<br> green<br> yellow<br> red </p> <p>I'd like to redirect to different pages if they choose girl + blue, boy+ blue, and boy+green,etc. for all combinations. Thanks so much for any help! I tried searching of course but couldn't find how to deal with this rather simple situation.</p> <p>here's what I have so far:</p> <pre><code> &lt;td&gt;&lt;span class="style1"&gt;You're a:&lt;/span&gt;&lt;br&gt; &lt;select name="select1" id="select1" onchange="getACupOfCoffee(this)"&gt; &lt;option selected="selected"&gt;-- Please Select --&lt;/option&gt; &lt;option value="1"&gt;Male seeking Female&lt;/option&gt; &lt;option value="2"&gt;Female seeking Male&lt;/option&gt; &lt;option value="3"&gt;Male seeking Male&lt;/option&gt; &lt;option value="4"&gt;Female seeking Female&lt;/option&gt; &lt;/select&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;img src="http://cdn.qtxi.com/dm/datespace/_spacer.gif" height="35" width="300"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;span class="style1"&gt;Relationship I'm looking for:&lt;/span&gt;&lt;br&gt; &lt;select name="select2" id="select2"&gt; &lt;option&gt;-- Please Select --&lt;/option&gt; &lt;option value="1b"&gt;Casual&lt;/option&gt; &lt;option value="2b"&gt;Serious / Longterm&lt;/option&gt; &lt;option selected="selected" value="3b"&gt;Friend&lt;/option&gt; &lt;option value="4b"&gt;Nothing&lt;/option&gt; &lt;/select&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;input type="image" src="continue2.jpg" width="149" height="37" border="0" /&gt;&lt;a onclick="internalLink=true" href="redirect-30074.php"&gt;&lt;img src="free.gif" alt="continue" /&gt;&lt;/a&gt;&lt;/td&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload