SyntaxFix
Write A Post
Hire A Developer
Questions
Following two are the most probable cause of this issue:
$stmt->close(); // <<<-----This fixed the issue for me $stmt = $conn->prepare("Insert statement");