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