hai this is my code
<?php
$i=0;
$j=1;
echo '<a href="assign.php?cnt='.if($i==0){$i} else if($i>1) {$j}.'">click</a>';
?>
i tried this i am getting error like unexpected T_if ......
shall i pass condition like this in between value passing?
or is there any way query string with if condition pls tell me any idea.......
thx in adv