I'm facing difficulties with concatenating two fields after joining tables. I went through a post about concatenating two fields into one (/topic/479-concatenate-two-or-more-fields-into-one-field/), it wasn't a great help.
Scenario:
Table items has fields item_name and item_type_id, which stores the id of item_type.
Table item_type has field item_type, which stores the item_type
I need to display a dropdown list that loads item_name + item_type
Example:
1. item_name = BEER, item_type = BOTTLE
2. item_name = BEER, item_type = CAN
So, dropdown should display:
BEER - BOTTLE
BEER - CAN