Data cannot be queried after mysql preprocessing

when I query a piece of data, I cannot query the data after using parameter binding:
the following is the sql to be queried

$sql = "SELECT `id` FROM `ct_collection` where `issue`=:issue LIMIT 1";

Parameter binding is: "050"

SQL: [90] SELECT `id` FROM `ct_collection` where `issue`=:issue LIMIT 1
Params:  1
Key: Name: [6] :issue
paramno=0
name=[6] ":issue"
is_param=1
param_type=2

I take it directly to mysql and execute it, but I just can"t find it through the program. Please advise

Mar.11,2021

take a look at the type of the issue field, whether it is a numeric type in php, causing the execution statement to become: issue=50
before executing the sql statement, output the value of the bound variable to the debug log and check it out.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2992b-33973.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2992b-33973.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?