User Profile

Collapse

Profile Sidebar

Collapse
hannable80
hannable80
Last Activity: Feb 29 '08, 12:46 PM
Joined: Feb 28 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Cheers

    sorry about the pm
    Code:
     <FORM>
    <INPUT type="button" value="Submit" name="GO"/>
    </FORM>
    When i even this small bit of code in it throws a syntax error...
    I have populated the drop down. I need to select a highlighted option in it and pass it as a var to a button. Then the button "onclick" will run a sql statement with the Value inserted...
    See more | Go to post

    Leave a comment:


  • hannable80
    started a topic pass selected (drop-down) value to submit button
    in PHP

    pass selected (drop-down) value to submit button

    Hi,

    I have being doing some php code for the very first time using wordpress as a template, basicaly what i want the prog to do is get data from a drop down menu, which i have populated with data from a MSQL db. pass it to a button (on the same page) and it to run a SQL statemment and populate the data in a table.
    What i am having problems with is to get the data to the botton where it will execute on the same page.
    Code...
    See more | Go to post
    Last edited by ronverdonk; Feb 28 '08, 02:39 PM. Reason: adding code tags
No activity results to display
Show More
Working...