Need some help with <option>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ken ullman

    Need some help with <option>

    I would like to have it go to linkable address in another page.
    ex:
    Blepharitis<br>
    <ul>
    <li>symptoms
    <select name="Symptoms" >
    <option value="blephari tis.html#seb_sy mp">Seborrhei c</option>
    <option value="blephari tis.html#staph_ symp">Staph</option>
    </select>
    </ul>

  • Matthias Gutfeldt

    #2
    Re: Need some help with &lt;option&g t;

    ken ullman wrote:[color=blue]
    > I would like to have it go to linkable address in another page.
    > ex:
    > Blepharitis<br>
    > <ul>
    > <li>symptoms
    > <select name="Symptoms" >
    > <option value="blephari tis.html#seb_sy mp">Seborrhei c</option>
    > <option value="blephari tis.html#staph_ symp">Staph</option>
    > </select>
    > </ul>[/color]

    Simple: After submitting the form, the server-side script that handles
    the form data redirects to the desired page. Choose your favourite
    server-side scripting language.

    Matthias

    Comment

    • Matthias Gutfeldt

      #3
      Re: Need some help with &lt;option&g t;

      Matthias Gutfeldt wrote:[color=blue]
      > ken ullman wrote:
      >[color=green]
      >> I would like to have it go to linkable address in another page.
      >> ex:
      >> Blepharitis<br>
      >> <ul>
      >> <li>symptoms
      >> <select name="Symptoms" >
      >> <option value="blephari tis.html#seb_sy mp">Seborrhei c</option>
      >> <option value="blephari tis.html#staph_ symp">Staph</option>
      >> </select>
      >> </ul>[/color]
      >
      >
      > Simple: After submitting the form, the server-side script that handles
      > the form data redirects to the desired page. Choose your favourite
      > server-side scripting language.[/color]

      I should have checked before. A quickie explanation is already available
      here: <http://www.webdevtips. com/webdevtips/php/jump.shtml>. I would
      perform the usual anti-hacking attempts on the $url before sending it as
      a header, but that's trivial too.


      Matthias

      Comment

      • David Dorward

        #4
        Re: Need some help with &lt;option&g t;

        ken ullman wrote:
        [color=blue]
        > I would like to have it go to linkable address in another page.[/color]
        [color=blue]
        > <select name="Symptoms" >[/color]



        --
        David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
        Home is where the ~/.bashrc is

        Comment

        Working...