Ray,
Sorry but I have one more page that needs help. ipnNFC.php.
This is a paypal instant payment notification for a single product that is not part of the customers main business.
Inserts the order information into a db table.
Does not work with the upgrade of my server.
I changed the connection to mysqli but I don't know how to change the insert to mysqli.