Hello LeonardChallis
thank you for your quick reply and help 
ok I put them together like this:
PHP Code:
<?php
echo '<tr class="c1">
<td><b>'. MSG_ITEM_CONDITION. '</b></td>
<td>';
<? if ($item_details['item_condition']==0) { echo MSG_ITEM_CHOOSE_CONDITION; }
else if ($item_details['item_condition']==1) { echo MSG_ITEM_NEW; }
else if ($item_details['item_condition']==2) { echo MSG_ITEM_VERY_GOOD; }
else if ($item_details['item_condition']==3) { echo MSG_ITEM_GOOD; }
else if ($item_details['item_condition']==4) { echo MSG_ITEM_AVERAGE; }
else if ($item_details['item_condition']==5) { echo MSG_ITEM_POOR; }
else if ($item_details['item_condition']==6) { echo MSG_ITEM_DEFECTIVE; }
echo '</td>
</tr>';
?>
yet a new Error code:
Parse error: syntax error, unexpected '<' in /home/a1740368/public_html/themes/ultra/templates/auction_details.tpl.php on line 261
PHP Code:
257<?php
258 echo '<tr class="c1">
259 <td><b>'. MSG_ITEM_CONDITION. '</b></td>
260 <td>';
261<? if ($item_details['item_condition']==0) { echo MSG_ITEM_CHOOSE_CONDITION; }
262 else if ($item_details['item_condition']==1) { echo MSG_ITEM_NEW; }
263 else if ($item_details['item_condition']==2) { echo MSG_ITEM_VERY_GOOD; }
264 else if ($item_details['item_condition']==3) { echo MSG_ITEM_GOOD; }
265 else if ($item_details['item_condition']==4) { echo MSG_ITEM_AVERAGE; }
266 else if ($item_details['item_condition']==5) { echo MSG_ITEM_POOR; }
267 else if ($item_details['item_condition']==6) { echo MSG_ITEM_DEFECTIVE; }
268 echo '</td>
269 </tr>';
270 ?>
Bookmarks