Delete php is not working. : hey my code is not working. my database does not have unique id

    include('php_connect.php');
       
    // check if the 'Userid' variable is set in URL, and check that it is valid
    if (isset($_GET['ServerName']))
    {
    // get id value
    	$userid = $_GET['ServerName'];     
    // delete the entry
    	$strSQL = "DELETE from server WHERE ServerName = (?)";
    	$params = array($userid);
    	$stmt = sqlsrv_query( $conn, $strSQL, $params);
    	if( $stmt ){
    		sqlsrv_commit( $conn );
    		echo "Record Deleted";
            }
    	else
    	{
    		echo $params[0];
    		echo "statement error.<br />";
    		die( print_r( sqlsrv_errors(), true));
    	}
    	sqlsrv_close( $conn );    
    }
    else
    // if id isn't set, or isn't valid, redirect back to view page
    {
    	echo "WTH Something happened to the ServerName!.<br />";
    	echo "Better start over.<br />";
    }
                          
    ?>

and the results is this


WTH Something happened to the ServerName!
Better start over

