Darkmatter5 Posted August 21, 2009 Share Posted August 21, 2009 Here's the relevant portion of my code. <tr> <td class="row_title"> Numerical listing of job numbers in <form method="get" action="reports/rep_Njobnumber-year.php"> <select name="year"> <option value="-84">84</option> <option value="-85">85</option> <option value="-86">84</option> <option value="-87">87</option> <option value="-88">88</option> <option value="-89">89</option> <option value="-90">90</option> <option value="-91">91</option> <option value="-92">92</option> <option value="-93">93</option> <option value="-94">94</option> <option value="-95">95</option> <option value="-96">96</option> <option value="-97">97</option> <option value="-98">98</option> <option value="-99">99</option> <option value="-00">00</option> <option value="-01">01</option> <option value="-02">02</option> <option value="-03">03</option> <option value="-04">04</option> <option value="-05">05</option> <option value="-06">06</option> <option value="-07">07</option> <option value="-08">08</option> <option value="-09">09</option> </select> <input type="submit" value="Submit"> </form> </td> <td class="row_title" align="center">-</td> <td class="row_title" align="center">-</td> </tr> When I click the submit button it does nothing. What's going on? Quote Link to comment Share on other sites More sharing options...
lostprophetpunk Posted August 21, 2009 Share Posted August 21, 2009 You need a name for you submit button...such as... <input type="submit" value="Submit" name='form' /> Then when you hit submit... if($isset($_POST['form'])) { //do the form processing here. } Hope this helps. Quote Link to comment Share on other sites More sharing options...
Darkmatter5 Posted August 21, 2009 Author Share Posted August 21, 2009 Thanks friend! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.