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?" Quote 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. Quote 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. Quote 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 (edited) 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. Edited December 26, 2012 by Christian F. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.