struggling with this update in PDO, i have hacked away at it in frustration, but i cannot see my error
edbr 22 Junior Poster
Recommended Answers
Jump to PostLine 31.
Jump to PostSee my example here how you can catch exceptions. It will help you find the problem.
Jump to Post$stmt->bindValue(':over_14', $_POST['over_14']);
try this instead
$stmt->bindValue('over_14', $_POST['over_14']);
All 9 Replies
edbr 22 Junior Poster
pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster
edbr 22 Junior Poster
edbr 22 Junior Poster
pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster
jstfsklh211 79 Light Poster
pritaeas commented: Totally missed it. No idea why this was downvoted. +14
edbr 22 Junior Poster
edbr 22 Junior Poster
edbr 22 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.