import CSV file into database using HTML and Php
<p>i try this code to import a CSV file into my database but i got this error : Warning: mysqli::query(): Empty query </p>

<pre><code>$db = new mysqli('localhost','root','', 'BD_Conference');


    $sql=mysql_query("INSERT INTO tbl_conference (pid, name,  chairs,keynote, abstract, speaker, affiliation, ville, pays, salle, date, time, session, image_url) VALUES ('','$champs1','$champs2','$champs3','$champs4','$champs5','$champs6','$champs7','$champs8','$champs9','$champs10','$champs11','$champs12','$champs13')");

    $result = $db-&gt; query($sql) ;
</code></pre>