$var or '$var' in a sql if the field is an int ?
db mysql;
if ID is a field int or bigint
if in the query
.....
WHERE ID = '$var'
and $var= 10;
I can use write so '$var' or so $var (no '') ?
or there aren't difference?
or for security is better use '$var' and not $var also for numeric
field?
|