My PHP code is:
$query="select company_name from company_names where cik=".$cik;
Which on printing gives
select company_name from company_names where cik=0001001871
I would like to get the output like
select company_name from company_names where cik='0001001871'
How do I add the single quotes in PHP?