soycharliente Posted May 30, 2021 Share Posted May 30, 2021 (edited) I don't need help anymore. I spent the last 30-45 minutes painstakingly laying out my problem only to figure it out just before hitting submit while reading it over one final time. So, thank you for continuing to offer this forum as a resource online so I could do some rubber duck debugging. I haven't been active on here in quite a while, so I am glad to be doing some programming again so I can start contributing content/answers more. Solution: I copied some code from the PHP manual and forgot to change the variable being referenced by mysqli_commit from the example variable to my database connection reference. (And didn't notice over the course of ~2 hours.) When borrowing code, don't forget to use your variables everywhere! I cannot figure out why my mysqli prepared statement is not inserting into the database. I am not showing any errors anywhere. AUTO_INCREMENT is advancing by 1 each time which is strange. I can't view the prepared statement, but a manual INSERT in phpMyAdmin with what I believe is a valid query works fine. I am completely stuck and have no idea which way to go. Any help is much appreciated. PHP version: 7.4.19 MySQL version: 5.6.48-88.0 index.php database.php phpMyAdmin SQL dump Edited May 30, 2021 by soycharliente Quote Link to comment 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.