Excoastie Posted September 26, 2022 Share Posted September 26, 2022 Good morning everyone! I'm a student, and I'm struggling with an assignment. Part of the trouble is that all of the PHP code is provided for me and I am mostly guessing with my understanding. I was tasked with modifying it to match my table. I am also very inexperienced with WordPress, which doesn't help. I'm not looking for you to complete my assignment, just to give me a nudge so that I can do so. I have attached several screenshots. My Table the Code Snippet used to create the page, and the function added to the functions.php file. The View Students page accurately displays data from the database. The Add Student form allows you to complete the form, but it won't populate the database. I can do this manually through SQL, but the assignment calls for doing so using the form. Thanks everyone! --Exco Quote Link to comment https://forums.phpfreaks.com/topic/315372-form-not-adding-data-to-database/ Share on other sites More sharing options...
ginerjm Posted September 26, 2022 Share Posted September 26, 2022 Might need a wordpress forum for this question. Or someone here who uses it a lot Quote Link to comment https://forums.phpfreaks.com/topic/315372-form-not-adding-data-to-database/#findComment-1601065 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.