Code: Select all
<tr class="tpj_row1">
<td align="right" nowrap="nowrap" valign="top">
<b><?php echo JText::_('LOCATION'); ?> :</b>
</td>
<td align="left" width="20%" valign="top"><?php echo $job->city; ?>,<?php echo $job->state; ?>
</td>
<td valign="top"> </td>
<td valign="top" align="right">
<b><?php echo JText::_('COUNTRY'); ?> :</b>
</td>
<td align="left" valign="top">
<?php echo $job->country; ?>
</td>
</tr>Location: 1,12 Country: United Kingdom,
When what is required is
Location: London, Greater London Country: United Kingdom
I have checked the table and all references to city, state and country are numeric as they are drawn from lookup tables, so obviously the php needs to be told to pull and display the text values not the record number.
I’ve been all through the code and can find no obvious code. The only thing I can find is a GetSelectCountry, GetSelectState and GetSelectCity function, but this looks more like its forthe data entry rather than display, there doesn’t seem to be anythere there that helps me. So being a bit of noob i’m now not sure what is required to show the contents of the text field.
Can somebody point me in the right direction and give me a clue what I Should be looking for
Thanks in advance