using "get" form data

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

    using "get" form data

    How do I use get data in a url sent from aform on an other page. All i want
    to do is take this data and display it on the page.
    thanking you in anticipation


  • David Dorward

    #2
    Re: using "get&qu ot; form data

    Perhaps you should read: http://www.allmyfaqs.com/faq.pl?How_to_post

    Richard Hockey wrote:
    [color=blue]
    > You can read the form values using the associative array $_GET[]
    >
    > echo 'The username is '.$_GET["username1"].'<br>';
    > echo 'The password is '.$_GET["password1"].'<br>';[/color]

    This is comp.lang.javas cript, not comp.lang.php.

    --
    David Dorward http://dorward.me.uk/

    Comment

    • David Dorward

      #3
      Re: using &quot;get&qu ot; form data

      kelvin wrote:
      [color=blue]
      > How do I use get data in a url sent from aform on an other page.[/color]



      leads to



      --
      David Dorward http://dorward.me.uk/

      Comment

      • George M Jempty

        #4
        Re: using &quot;get&qu ot; form data

        David Dorward wrote:[color=blue]
        > kelvin wrote:
        >
        > http://www.exotic-isle.com/tutorials...script_201.htm
        >[/color]

        This tutorial is highly outdated. It makes no reference to the
        location.search property, and uses pre-"regular expression",
        pre-"Javascript 1.2" text processing methods.


        Comment

        • George M Jempty

          #5
          Re: using &quot;get&qu ot; form data

          Lasse Reichstein Nielsen wrote:
          [color=blue]
          > "kelvin" <kelvin@nowhere .com> writes:
          >
          >[color=green]
          >>How do I use get data in a url sent from aform on an other page. All i want
          >>to do is take this data and display it on the page.[/color]
          >
          >
          > The data is hidden in the property "location.searc h".[/color]

          It's not "hidden"; it's right there.


          Comment

          • Lasse Reichstein Nielsen

            #6
            Re: using &quot;get&qu ot; form data

            George M Jempty <jb4mt@highstre am.net> writes:
            [color=blue]
            > Lasse Reichstein Nielsen wrote:[/color]
            [color=blue][color=green]
            > > The data is hidden in the property "location.searc h".[/color][/color]
            [color=blue]
            > It's not "hidden"; it's right there.[/color]

            All hidden things are "right there", when you know where to look :)

            Hmm, you quote "hidden". Would you have commented if I had quoted it?
            :)

            /L
            --
            Lasse Reichstein Nielsen - lrn@hotpop.com
            Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
            'Faith without judgement merely degrades the spirit divine.'

            Comment

            Working...