Retrieving a value from an <a href...?my_value>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • J.Beaulieu

    Retrieving a value from an <a href...?my_value>

    Anyone know how a php program can retrieve the following value?

    <a href="http://myurl/my.php?COMBO_SU BJECT=J&COMBO_L ANG=ENG">
  • Tom Thackrey

    #2
    Re: Retrieving a value from an &lt;a href...?my_valu e&gt;


    On 21-Oct-2003, jfbeaulieu2003@ yahoo.com (J.Beaulieu) wrote:
    [color=blue]
    > Anyone know how a php program can retrieve the following value?
    >
    > <a href="http://myurl/my.php?COMBO_SU BJECT=J&COMBO_L ANG=ENG">[/color]

    $_GET['COMBO_SUBJECT']
    $_GET['COMBO_LANG']

    see


    --
    Tom Thackrey

    tom (at) creative (dash) light (dot) com
    do NOT send email to jamesbutler@wil lglen.net (it's reserved for spammers)

    Comment

    • Matthias Esken

      #3
      Re: Retrieving a value from an &lt;a href...?my_valu e&gt;

      jfbeaulieu2003@ yahoo.com (J.Beaulieu) schrieb:
      [color=blue]
      > Anyone know how a php program can retrieve the following value?
      >
      > <a href="http://myurl/my.php?COMBO_SU BJECT=J&COMBO_L ANG=ENG">[/color]

      This should be

      <a href="http://myurl/my.php?COMBO_SU BJECT=J&amp;COM BO_LANG=ENG">

      and the script my.php gets the result in the $_GET array.
      $_GET['COMBO_SUBJECT'] will contain "J" and $_GET['COMBO_LANG'] contains
      "ENG".

      Regards,
      Matthias

      Comment

      Working...