order
id id_food other
----------------------
1 4 soup
I do not think it is a good idea to store data. If you really need to save id_food = 4(which applies 'other') along with 'soup', I suggest setting up the product search table as follows:
food
id name is_other
----------------------
1 pizza 0
5 soup 1
And changing the order table as follows
order
id id_food other_id
----------------------
1 4 5
, , , other textbox food, id_food food_id order .
, data
select id,name from food where is_other = 0
soup food, checkbox.
, , , , .