PDO lastInsertID problem

Dont know what happened, but it works now. Think I actually uploaded the file into the wrong folder and kept refreshing old code lol Im sorry!