thumbliner Posted May 7, 2011 Share Posted May 7, 2011 The irritating novice is back!! Hey guys, need your help again. I just coded an INSERT records page. But after all was done, this is the error I am getting. I fill the form and when I click, INSERT. I get this error. Why? [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/235770-too-few-arguments/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 7, 2011 Share Posted May 7, 2011 For every place-holder/format-specifier that you have in the first parameter of the sprintf statement, you must supply a value. You need to match up each piece of data you are supplying with the where it is being used in the query and determine which piece of data is missing and add it to the list of arguments. Quote Link to comment https://forums.phpfreaks.com/topic/235770-too-few-arguments/#findComment-1211921 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.