Hi,
Can anyone tell me why the following code returns this:
The name of the person
Instead of this:
The name of the person that signed up for a demonstration below you in last 24 hours is as follows :
$num_lastday = '1';
$list = "The ".$s = ($num_lastday == '1') ? 'name of the person' : $num_lastday.' people'." that signed up for a demonstration below you in last 24 hours ".$s = ($num_lastday == '1') ? "is" : "are as follows"." :";
echo $list;
Thanks,
JeNNiDeS