Question: I have this code which I use in order to upload a CSV file.

```
$handle = fopen($_FILES['filename']['tmp_name'], "r");

while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
    $import="INSERT into matching(date, time, location, epos_id, rbpos_id, type_of_payment, basket_information, user_id, points) values('$data[0]', '$data[1]', '$data[2]', '$data[3]', '$data[4]', '$data[5]', '$data[6]', '$data[7]', '$data[8]')";

    mysql_query($import) or die(mysql_error());

    $query = 'SELECT * FROM users WHERE ID="'.$data[7].'"';
    $result = mysql_query($query) or die(mysql_error());

    while($row = mysql_fetch_array($result)){
        $id_user = $row['user_id'];
        $phone = $row['phone'];
        echo $name = $row['first_name'];
    }

    mysql_query($import) or die(mysql_error()); 
}

fclose($handle);

```

Now, I need to iterate each data on the column `$data[7]`, so I echo the first name of each person who has that user\_id, but apparently it's wrong because nothing is printed.

PS. please note that I'm the only one uploading the data, I'm not concerned about security stuff or whatever.

Answer: 
You probably set the option [`virtualedit`](http://vimdoc.sourceforge.net/htmldoc/options.html#%27virtualedit%27) somewhere. To turn it off for the instance you can use `:set virtualedit=`. Or to permanently disable it remove it from your vimrc.
The feature is call virtual edit. You can disable this with:

```
:set virtualedit=

```

See `:h 've'` for more information.