Mysql HY093

Bitten by it again. Mysql through php5 and PDO spews a ‘HY093’ on me when I try to manipulate a database through a update or insert. No further explanations.. Why not state “invalid number of arguments” or something like that. It just means that the number of arguments given in the array when executing a prepared statement does not agree with the number of place holders in the query.
Case closed,hopefully I remember it the next time a HY093 turns up…

This entry was posted in Diverse. Bookmark the permalink.