这个查询中有什么错误,不删除

I am using echo $fss its display data

"11-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V5703211-V57032"

but i am using delete query using this variable but its not working

<?php  

 //connect to the database 
 $connect = mysql_connect("localhost","root",""); 
 mysql_select_db("cityshoes",$connect); //select the table 


if ($_FILES[csv][size] > 0) { 

    //get the csv file 
    $file = $_FILES['csv']['tmp_name'];
    $handle = fopen($file,"r"); 



    do { 
        if ($data[0]) { 

 $fss = addslashes($data[1]);
        $result = mysql_query("DELETE from  contacts where articleno = . $fss . ");

        echo $fss;


        } 
    } while ($data = fgetcsv($handle,1000,",","'")); 



} 

?> 

You are appending variable in the query in wrong way. Try with:

$result = mysql_query("DELETE from  contacts where articleno = $fss");

or

$result = mysql_query("DELETE from contacts where articleno ='".$fss ."'");

Turn this line

$result = mysql_query("DELETE from  contacts where articleno = . $fss . ");

To this

$result = mysql_query("DELETE from  contacts where articleno =  $fss ");

You have to remove the periods.