is_utf8?"utf-8":$charset; } $n++; $notices=substr($notices,$i+1); $i=strpos($notices,$car); } } if ($notices!="") { $notice=$notices; $t=array(); $t['POS']=$n_; $t['LENGHT']=$i+1; $requete="insert into import_marc (no_notice, notice, origine) values($n,'".addslashes($notice)."','$origine')"; mysql_query($requete); $index[]=$t; $n++; } return $index; }