[ad_1]
I didnt understood your question properly but i think this is what you need…
$where="'code=".$cod."'";
Or
$where="code="".$cod.""";
2
[ad_2]
solved How do i use variable within a variable second variable value give single qutaion? [closed]