hosker Posted January 6, 2012 Share Posted January 6, 2012 I have a firm that post to my database. When I tested it always posted my information correctly. I require the user to be logged in before they can access the page with the form. I do I ensure that each php variable has a value in it before the data is posted? Any help would be appreciated. I can post my code if needed. Quote Link to comment https://forums.phpfreaks.com/topic/254476-help-with-submitting-a-form/ Share on other sites More sharing options...
trq Posted January 6, 2012 Share Posted January 6, 2012 Any help? you haven't asked any question or described any issue. Quote Link to comment https://forums.phpfreaks.com/topic/254476-help-with-submitting-a-form/#findComment-1304797 Share on other sites More sharing options...
hosker Posted January 6, 2012 Author Share Posted January 6, 2012 I meant to ask, how do I ensure each variable has a value prior to inserting the value into my database. Quote Link to comment https://forums.phpfreaks.com/topic/254476-help-with-submitting-a-form/#findComment-1304802 Share on other sites More sharing options...
trq Posted January 6, 2012 Share Posted January 6, 2012 isset, empty. Quote Link to comment https://forums.phpfreaks.com/topic/254476-help-with-submitting-a-form/#findComment-1304808 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.