$langhash[insufficient_stock] = ereg_replace ("\(item_name\)", $ItemName, $langhash[insufficient_stock]); $langhash[insufficient_stock] = ereg_replace ("\(stock\)", strval($Stock), $langhash[insufficient_stock]); $langhash[insufficient_stock] = ereg_replace ("\(item_unit\)", $ItemUnit, $langhash[insufficient_stock]); $langhash[already_added_items] = ereg_replace ("\(number\)", strval($Number), $langhash[already_added_items]); $langhash[already_added_items] = ereg_replace ("\(item_unit\)", $ItemUnit, $langhash[already_added_items]); $langhash[already_added_items] = ereg_replace ("\(item_name\)", $ItemName, $langhash[already_added_items]); $langhash[add_rest_items] = ereg_replace ("\(remain_qty\)", strval($remain_qty), $langhash[add_rest_items]); $langhash[add_rest_items] = ereg_replace ("\(item_unit\)", $ItemUnit, $langhash[add_rest_items]); $langhash[invalid_add_quantity] = ereg_replace ("\(invalid_qty\)", $InvalidQtyValue, $langhash[invalid_add_quantity]); $langhash[invalid_add_quantity] = ereg_replace ("\(item_unit\)", $ItemUnit, $langhash[invalid_add_quantity]); $langhash[invalid_order_quantity] = ereg_replace ("\(invalid_qty\)", $InvalidQtyValue, $langhash[invalid_order_quantity]); $langhash[invalid_order_quantity] = ereg_replace ("\(item_unit\)", $ItemUnit, $langhash[invalid_order_quantity]); ?>