So I am working on a project and have managed to fix all my initial problems but when I try and submit it fails so there must be something wrong with my code to submit the info to the database.
The error returned is that all variables passed in through post are undefined, even though these errors do not show up on initial visit of the page, upon clicking submit all of these variables are no longer defined.
The relevant files are on my github here:
https://github.com/jgert427/mysqli-project
The file that is supposed to submit is confirm.php
I don't have a ton of experience with php or mysqli so I would really appreciate any and all help.
(note: I do not have nearly enough time to rewrite all my code in PDO, although I wouldn't mind hearing why one should use PDO over mysqli, or not, for future references)
What I have tried:
I have made sure that all variables are accounted for and attempted to fix the prepared statements with no success.