<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум PHP-MyAdmin.RU &mdash; проблема с русским языком в mysql_fetch_array]]></title>
		<link>https://forum.php-myadmin.ru/viewtopic.php?id=1522</link>
		<atom:link href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=1522&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «проблема с русским языком в mysql_fetch_array».]]></description>
		<lastBuildDate>Sun, 17 Jan 2010 23:19:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: проблема с русским языком в mysql_fetch_array]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=10291#p10291</link>
			<description><![CDATA[<p>спасибо памагло</p>]]></description>
			<author><![CDATA[null@example.com (leonid)]]></author>
			<pubDate>Sun, 17 Jan 2010 23:19:01 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=10291#p10291</guid>
		</item>
		<item>
			<title><![CDATA[Re: проблема с русским языком в mysql_fetch_array]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=10288#p10288</link>
			<description><![CDATA[<p><strong>leonid</strong><br />Необходимо установить кодировку соединения с MySQL. Сразу после функции mysql_connect добавьте строку:<br />mysql_query(&#039;SET NAMES cp1251&#039;);</p><p>Это в случае использования кодировки cp1251. Необходимо проверить соответствие: страница скрипта должна быть в ANSI; данные в БД должны иметь сравнение cp1251_general_ci.</p>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Sun, 17 Jan 2010 22:22:08 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=10288#p10288</guid>
		</item>
		<item>
			<title><![CDATA[проблема с русским языком в mysql_fetch_array]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=10283#p10283</link>
			<description><![CDATA[<p>Здравствуйте</p><p>Моя проблема заключается вот в чом phpMyAdmin</p><p>пример:</p><p> Таблица : danitosaiti </p><p>Поле&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Тип&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;Сравнение&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Атрибуты&nbsp; &nbsp; Ноль&nbsp; &nbsp; По умолчанию&nbsp; &nbsp; Дополнительно&nbsp; &nbsp; Действие<br />Index&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; int(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Нет&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;auto_increment&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>NazvanieS&nbsp; text&nbsp; &nbsp;&nbsp; &nbsp; cp1251_general_cs&nbsp; &nbsp; &nbsp; &nbsp; Да&nbsp; &nbsp; NULL&nbsp; &nbsp; </p><p>Тамнаходятся даные:</p><p>Index &nbsp; &nbsp; NazvanieS <br /> 1&nbsp; &nbsp;&nbsp; привет1<br /> 2 &nbsp; &nbsp;&nbsp; приые2<br /> 3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; привет3</p><p>но года я пишу скрипт :<br />&lt;?php<br />include &quot;cistem.php&quot;;</p><p>$ath = mysql_query(&quot;select * from&nbsp; danitosaiti ;&quot;);</p><p> while($author = mysql_fetch_array($ath))<br />&nbsp; {<br />&nbsp; &nbsp; printf (&quot;ID: %s&nbsp; Name: %s&quot;, $author[&#039;Index&#039;], $author[&#039;NazvanieS&#039;]);<br />&nbsp; &nbsp;}<br />?&gt;</p><p>получаю такои результат:</p><p>ID: 1 Name:??????? ID: 2 Name:??????? ID: 1 Name:??????? ID:3 Name:??????? </p><p>и чтобы я не делал как бы не менял кодировку все равно выдает вапросы подскажите вчом проблема ?</p>]]></description>
			<author><![CDATA[null@example.com (leonid)]]></author>
			<pubDate>Sun, 17 Jan 2010 19:12:13 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=10283#p10283</guid>
		</item>
	</channel>
</rss>
