i'm trying to get data from a table using the table id to fetch the data for another action but i want the dropdown to pick a static id (eg ItemId=2) in-case the user dont want to change.

though there are other options populated too is also available for users selection but the ItemId 2 should be the default

below is my logic but is not woring

PHP Code:
$itemsArray['0'] = "please select an Number of items";
count($items)) {
                            foreach (
$items as $item) {
$itemsArray[$item->itemID] = $item->item;
[2]= itemId