I have the following code
<a href="<'. Url::to(['site/campaign']) .'" class="pull-right text-green"> '. HtmlPurifier::process($camp['CampaignStatus'] < 1 ? 'Intiated' : (($camp['CampaignStatus'] < 2 ? 'Drafted' ))) . '</a>
but it's giving me the following error:
ParseError syntax error, unexpected ')'
Can anyone see what's going wrong here or how to fix it?