Feeding data from php form to Web link

Discussion in 'PHP' started by martyoo, Aug 28, 2007.

  1. #1
    Ok so what I have is a basic form with two fields D and M. when the person enters D and M and clicks Submit I want the contents of D and M to fill their respective areas of a web link.
    This is the link.
    site.net/sendsms.aspx?s=m&d=085654321&m=Hi

    Any ideas?
    Thanks

    Marty
     
    martyoo, Aug 28, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    
    <form action="http://site.net/sendsms.aspx" method="get">
    <p>D: <input type="text" name="d" /></p>
    <p>M: <input type="text" name="m" /></p>
    <input type="submit" value="Submit" />
    </form>
    
    HTML:
    Like this?
     
    nico_swd, Aug 28, 2007 IP
  3. martyoo

    martyoo Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the help. I will let you know how I get on. Im not too good at php.
    Cheers.
     
    martyoo, Aug 28, 2007 IP
  4. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #4
    It's just simple HTML. :)
     
    nico_swd, Aug 28, 2007 IP