Try to divide English and Bulgarian name and save them in two different fields but are not poluchava.nyakoy have an idea why? $sql = mysql_query("SELECT * FROM tablica ORDER by idMovie DESC") or die (mysql_error()); while($movie = mysql_fetch_assoc($sql)) { echo "<h1>".$movie['title']."</h1>"; preg_match('#<h1>(.*) / (.*)</h1>#imsU',$html,$title); mysql_query("UPDATE tablica SET title='".$title[1]."' , title_bg='".$title[2]."' WHERE idMovie='$movie[idMovie]'") or die (mysql_error()); } PHP: