problem in php form to call radio button value in javascript

Discussion in 'PHP' started by mahendra rajeshirke, Jun 14, 2009.

  1. #1
    hi guys,

    i have done a page http://goodluckpaints.com/order.html and the javascript is follow and fine radio button to knw my problem

    i have connected this form to http://goodluckpaints.com/order.html


    find the value of

    $new_cust = $_POST["new_cust"];

    this is not right script but what should i do to get exact value by checking these radio button


    thnx in advance
     
    mahendra rajeshirke, Jun 14, 2009 IP
  2. mahendra rajeshirke

    mahendra rajeshirke Active Member

    Messages:
    402
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    hey guys i got the exact trick

    i have changed the line

    $new_cust = $_POST["new_cust"];

    as

    $reply = $_POST["reply"];


    and not changed in javascript
     
    mahendra rajeshirke, Jun 14, 2009 IP