harrishawker
harrishawker6mo 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
Leokuma6mo ago
Which library are you using to connect to MySQL?
harrishawker
harrishawker6mo ago
This one (x/mysql)
Leokuma
Leokuma6mo ago
I think it should be one single ? per value
harrishawker
harrishawker6mo ago
Same result :(
No description
Leokuma
Leokuma6mo ago
try without quotes
harrishawker
harrishawker6mo ago
ty, that did it I believe
Leokuma
Leokuma6mo ago
?? is for column names I think
harrishawker
harrishawker6mo ago
ah, okay