CCCFan
CCCFan2mo ago

MySQL Parameters Not Working

Hi there! So, I'm currently trying to use mysql BUT the parameters aren't working. I've attached a screenshot of my code (easier than a code block, in this case) and of the MySQL query log. Any and all help would be appreciated! I'm sure I'm just being stupid and it's something really simple, but I just can't see what's wrong.
No description
No description
8 Replies
Leokuma
Leokuma2mo ago
Which library are you using to connect to MySQL?
CCCFan
CCCFan2mo ago
This one (x/mysql)
Leokuma
Leokuma2mo ago
I think it should be one single ? per value
CCCFan
CCCFan2mo ago
Same result :(
No description
Leokuma
Leokuma2mo ago
try without quotes
CCCFan
CCCFan2mo ago
ty, that did it I believe
Leokuma
Leokuma2mo ago
?? is for column names I think
CCCFan
CCCFan2mo ago
ah, okay