Hello,

I have been attempting to get this code below correct, yet I am lost!

help appreciated

PHP Syntax Check: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in your code on line 5

PHP Code:

PHP Code:
<?php
  
echo '<tr class="c1">
 <td><b>'
MSG_ITEM_CONDITION'</b></td>
 <td>
 <? if ($item_details['
item_condition']==0) { 'MSG_ITEM_CHOOSE_CONDITION' } 
    else if ($item_details['
item_condition']==1) { 'MSG_ITEM_NEW' } 
    else if ($item_details['
item_condition']==2) { 'MSG_ITEM_VERY_GOOD' } 
    else if ($item_details['
item_condition']==3) { 'MSG_ITEM_GOOD'} 
    else if ($item_details['
item_condition']==4) { 'MSG_ITEM_AVERAGE' } 
    else if ($item_details['
item_condition']==5) { 'MSG_ITEM_POOR' } 
    else if ($item_details['
item_condition']==6) { 'MSG_ITEM_DEFECTIVE'></td>
    </tr>'
;
    
?>