help with prepared statements

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 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)

Comments

  • Forgot to include the error.
    What happens is that upon clicking submit all variables passed in with post return an error of undefined, even though on page load they were defined.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion