Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$cod=set_value('code') ; $where='`code`= '.$cod ' ';
结果应该是这样code ='some value',但是当我打印时给出错误
code ='some value'
我没有正确理解你的问题,但我认为这是你需要的......
$where="'code=".$cod."'"; Or $where="code='".$cod."'";