lundi 20 avril 2015

HTML Action Form

I got this form:

            <form id="formID" action="getresult.php">
              <select id="search-select" class="select">

<option name="Studying" selected="selected" value="Studying">Studying</option>
<option name="Teaching" value="Teaching">Teaching</option>
<option name="Learning" value="Learning">Learning</option>
<option name="Reading" value="Reading">-Reading</option>

              </select>
             <input type="submit" value="Send" />
            </form>

Can anyone tell me what i write inside getresult.php, or even what to edit on my code as well, so i can have a different result, depending on choice? I need to stick to php, without jquery.

Thank you

Aucun commentaire:

Enregistrer un commentaire