foreach ($xmlres->rows->row as $row) { $tmp++; echo "<div style='font-family:Verdana; font-size: 11px; color: black; border-top-color: rgb(161, 184, 52); border-left-color: rgb(161, 184, 52); border-right-color: rgb(161, 184, 52); border-top-width: 1px; border-left-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-color: currentColor; border-bottom-width: 0px; border-bottom-style: none; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; border-right-width: 1px; width:84%;'>"; echo "<b><span style='color:#A1B834'> #$tmp</span> <span style='color:#A1B834'>|</span></b> "; echo "$row->date_response <span style='color:#A1B834'>|</span> "; echo $w1251 = iconv('utf-8', 'windows-1251', $row->text_response).'<br>'; echo "</div>"; }
INSERT INTO `tab`(`r1`, `r2`, `r3`, `r4`) VALUES ('r1', 'r2', 'r3', 'r4'); ......
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />