Christian F. Posted December 26, 2012 Share Posted December 26, 2012 The obvious question at this point is "have your form been submitted when you saw that?" Link to comment https://forums.phpfreaks.com/topic/272323-back-to-basics-mysql_query/page/2/#findComment-1401320 Share on other sites More sharing options...
Darkside Posted December 26, 2012 Author Share Posted December 26, 2012 Yes html form is uploaded. Link to comment https://forums.phpfreaks.com/topic/272323-back-to-basics-mysql_query/page/2/#findComment-1401409 Share on other sites More sharing options...
Barand Posted December 26, 2012 Share Posted December 26, 2012 Your medication radio buttons have no values. And unless one of them is checked no $_POST['medication'] will be there. Give them values of "yes/no" and set one checked by default. Link to comment https://forums.phpfreaks.com/topic/272323-back-to-basics-mysql_query/page/2/#findComment-1401411 Share on other sites More sharing options...
Christian F. Posted December 26, 2012 Share Posted December 26, 2012 I think you might benefit from reading a bit more on how forms and PHP interact, and the external variables page in the PHP manual should be a good start. Also, please ensure that you know what the different terms mean: Uploaded is not the same as submitted. Link to comment https://forums.phpfreaks.com/topic/272323-back-to-basics-mysql_query/page/2/#findComment-1401412 Share on other sites More sharing options...
Darkside Posted December 27, 2012 Author Share Posted December 27, 2012 Thanks Christian, I meant uploaded to server so that it could be submitted. Link to comment https://forums.phpfreaks.com/topic/272323-back-to-basics-mysql_query/page/2/#findComment-1401541 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.