$statuses = sc_query('SELECT `record_number`, `Status` FROM `Order_Status`',MYSQL_ASSOC,1);

$options = array();
$options['Order deletion'] = 'delete';
if (is_array($statuses)) {
	foreach($statuses as $status) {
		$options["Order status set to <em>".sc_htmlspecialchars($status[Status])."</em>"] = "status:$status[record_number]";
	}
}