phppup Posted February 22, 2012 Share Posted February 22, 2012 TWO questions: I haven't actually CONNECTED and POSTED. My form has two input fields that combine in a TOTAL field. I notice that the address bar is carrying TOTAL=input1+input2 when it TRIES to connect. Do I need to include the TOTAL field in the database if the info is NOT relavant data? the strg and chick TOTALS? Will the database accept PARTIAL data from a form that has 25 field with only 6 being populated for testing? Quote Link to comment https://forums.phpfreaks.com/topic/257539-trouble-posting/ Share on other sites More sharing options...
scootstah Posted February 22, 2012 Share Posted February 22, 2012 1. I have no idea what you're talking about. 2. It entirely depends on the layout of your table and what the default values are. Quote Link to comment https://forums.phpfreaks.com/topic/257539-trouble-posting/#findComment-1320041 Share on other sites More sharing options...
phppup Posted February 22, 2012 Author Share Posted February 22, 2012 My form has input1 and input2. It then adds them and displays as TOTAL. All 3 items have NAMES, and the form submission apparently grabs ALL the names to carry the info to the database. Is a field for each of the 3 items REQUIRED for the database to accept the data? I only need the two inputs for access. Quote Link to comment https://forums.phpfreaks.com/topic/257539-trouble-posting/#findComment-1320049 Share on other sites More sharing options...
scootstah Posted February 22, 2012 Share Posted February 22, 2012 Do you have any code to illustrate what you are talking about? The only information that goes into the database is what you explicitly put in the query. The amount of form fields is irrelevant. Quote Link to comment https://forums.phpfreaks.com/topic/257539-trouble-posting/#findComment-1320054 Share on other sites More sharing options...
phppup Posted February 22, 2012 Author Share Posted February 22, 2012 Thanks for the help, but I think i got it! Now I have different questions, but at least I'm making progress! Thanks again. Quote Link to comment https://forums.phpfreaks.com/topic/257539-trouble-posting/#findComment-1320058 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.