Actually, I suggest that you re-structure your table.
Keep the itemname and itemno fields.
Instead of a single itemsize field, change it to 3 or more other size-related fields,
e.g. large, med and small fields with say type TINYINT DEFAULT 0
Then if one of the sizes for that particular product is available, that size's field will be set to 1.
Conversely, you could create an itemsizes table is indexed by the same primary key as the product table.
This would simplify your task of listing the sizes, and could minimize the number of rows in the products table.
EDIT:
list() is indeed a reserved word, but can be used for variable names