Solved
For future reference if someone else runs into this problem, it seems that WA, for some reason, did not insert into the confirm.php page a connection to the database.
I added this to the top of the page...
<?php require_once('Connections/jfin.php'); ?>
Gary