Koen Koen - 1 year ago 42
PHP Question

SQLSTATE[HY093]: Can't find the solutions

This is the error that I get:
SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
I tried everything.. I can't find it.. Can someone tell me what I do wrong..

Answer Source

You haven't bound postID. It's in your WHERE clause and it's missing from the parameters.