Hi Monk
A table cell in my web application is showing the value based on a conditional statement. Please refer to the code below :
<td align=center> @{[ ($string eq 'level3' )? 'level3 stage' :
+'Edit']}</td>
Now assume that $string may contain two more values, say for example 'level1' and 'level2' .
And each such cases the value shown in the table cell would be 'level1 stage' and 'level2 stage' respectively otherwise 'Edit'.
How would I change the above syntax to accommodate two more conditions to check the other possible values in $string and show the desired results.
thanks.