programm011
  1. preg_match('#<h1>(.*?)<h1>(.*?)<p>(.*?)</p>$#si',$uzg,$array);
  2. $title = $array[1];
  3. $text = $array[3];
  4. mysql_query("INSERT INTO `table` SET `title` = '".$title."', `text` = '".$text."'");