1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Carry from data by url

Discussion in 'PHP' started by rivermember123456, Mar 21, 2008.

  1. #1
    i m 0 in php programming but i want to know how is it possible to fill a form in previous page
    for example in the first page there is only on field to enter domain name
    and in the 2nd page we have a domain registration form

    how can we fill the domain name field in the 2nd page by asking it in the previous page without saving text data in db
    SEMrush
    ex: domain.com/form.php?something=sth

    thanks
     
    rivermember123456, Mar 21, 2008 IP
    SEMrush
  2. Im The ONE

    Im The ONE Peon

    Messages:
    800
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    domain.com/form.php?something=sth

    Parameter "something" can be accessed in form.php as $abc = $_GET['something']
    with that $abc will have value sth
     
    Im The ONE, Mar 21, 2008 IP
    rivermember123456 likes this.
  3. geforce

    geforce Active Member

    Messages:
    173
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #3
    Also make sure your first form has: method="GET" in the form tags.
     
    geforce, Mar 21, 2008 IP