ballison1 Posted September 14, 2014 Share Posted September 14, 2014 I've ran script 6.4 with my code receive the following: Notice: Undefined index: year in /Applications/MAMP/htdocs/php-for-the-web/handle_reg.php on line 62 Ran Larry's code from download and still receive the same code: line 62 below: if (is_numeric($_POST['year'])) { Undefined index is the issue, not sure how to fix. Thanks, bob Link to comment Share on other sites More sharing options...
HartleySan Posted September 14, 2014 Share Posted September 14, 2014 Hello and welcome to the forums. It sounds like you're not posting a field with the name "year". Please double-check the HTML for your form. 1 Link to comment Share on other sites More sharing options...
ballison1 Posted September 15, 2014 Author Share Posted September 15, 2014 Duh! Thanks, I should have double checked the HTML. I completely missed adding the name="year" to the year field. Thanks!!!!! Link to comment Share on other sites More sharing options...
HartleySan Posted September 15, 2014 Share Posted September 15, 2014 Glad it was that easy. Thanks for letting us know how you solved the problem, too. Link to comment Share on other sites More sharing options...
Recommended Posts