<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Yii PHP framework: создание запросов с условием IN</title>
	<atom:link href="http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html</link>
	<description>Блог о программировании</description>
	<lastBuildDate>Wed, 08 Feb 2012 10:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Владимир</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-18365</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Mon, 20 Sep 2010 13:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-18365</guid>
		<description>$dataProvider=new CActiveDataProvider(&#039;User&#039;, array(
    &#039;criteria&#039;=&gt;array(
        &#039;condition&#039;=&gt;&#039;id IN (&#039;.implode(&#039;,&#039;, $ids).&#039;)&#039;,
        &#039;order&#039;=&gt;&#039;create_time DESC&#039;,
    ),
));
</description>
		<content:encoded><![CDATA[<p>$dataProvider=new CActiveDataProvider(&#039;User&#039;, array(<br />
    &#039;criteria&#039;=&gt;array(<br />
        &#039;condition&#039;=&gt;&#039;id IN (&#039;.implode(&#039;,&#039;, $ids).&#039;)',<br />
        &#039;order&#039;=&gt;&#039;create_time DESC&#039;,<br />
    ),<br />
));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: endo</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-18360</link>
		<dc:creator>endo</dc:creator>
		<pubDate>Sun, 19 Sep 2010 19:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-18360</guid>
		<description>А как в запрос where in добавить order by id(...)</description>
		<content:encoded><![CDATA[<p>А как в запрос where in добавить order by id(&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Владимир</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-11644</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Fri, 27 Aug 2010 01:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-11644</guid>
		<description>Использовать в запросе оператор &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/pattern-matching.html&quot; rel=&quot;nofollow&quot;&gt;LIKE&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Использовать в запросе оператор <a href="http://dev.mysql.com/doc/refman/5.0/en/pattern-matching.html" rel="nofollow">LIKE</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Дмитрий</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-11633</link>
		<dc:creator>Дмитрий</dc:creator>
		<pubDate>Fri, 27 Aug 2010 00:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-11633</guid>
		<description>Отличная статья, спасибо&lt;br&gt;Тут както разбирался с одной задачей, пока не могу решить, имеется в базе поле допустим cat_id в котором могут храниться ID раздела или разделов и выглядеть могут примерно так 1,2 или 33,2 или 123,65,32,78 или 34&lt;br&gt;Тоесть в данном поле могут храниться не только один ID, и могут несколько чередуясь через запятую. Вопрос, если мне потребуется вывести раздел у которого ID допустим 65 как составить запрос?</description>
		<content:encoded><![CDATA[<p>Отличная статья, спасибо<br />Тут както разбирался с одной задачей, пока не могу решить, имеется в базе поле допустим cat_id в котором могут храниться ID раздела или разделов и выглядеть могут примерно так 1,2 или 33,2 или 123,65,32,78 или 34<br />Тоесть в данном поле могут храниться не только один ID, и могут несколько чередуясь через запятую. Вопрос, если мне потребуется вывести раздел у которого ID допустим 65 как составить запрос?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Владимир</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-11485</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Fri, 16 Jul 2010 21:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-11485</guid>
		<description>Мне тоже ZF показался &quot;навороченным&quot;. Хотя широкое использование паттернов - это хорошо.&lt;br&gt;Думаю ZF лучше подходит для больших проектов, со сложной архитектурой. Для решения простых задач приходиться писать много &quot;лишнего&quot; кода.</description>
		<content:encoded><![CDATA[<p>Мне тоже ZF показался &#034;навороченным&#034;. Хотя широкое использование паттернов &#8211; это хорошо.<br />Думаю ZF лучше подходит для больших проектов, со сложной архитектурой. Для решения простых задач приходиться писать много &#034;лишнего&#034; кода.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis Medved</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-11477</link>
		<dc:creator>Denis Medved</dc:creator>
		<pubDate>Thu, 15 Jul 2010 23:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-11477</guid>
		<description>поначалу было не понятно, но это естественный процесс. Как разобрался скажу &quot;это гениально ! &quot;&lt;br&gt;&lt;br&gt;когда разбирался с zf (нужно было по работе) преимущество yii для меня было очевидным, причем во всем. Возможно я не прав и это дело &quot;вкуса&quot;</description>
		<content:encoded><![CDATA[<p>поначалу было не понятно, но это естественный процесс. Как разобрался скажу &#034;это гениально ! &#034;</p>
<p>когда разбирался с zf (нужно было по работе) преимущество yii для меня было очевидным, причем во всем. Возможно я не прав и это дело &#034;вкуса&#034;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uggs outlet</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-11450</link>
		<dc:creator>uggs outlet</dc:creator>
		<pubDate>Mon, 12 Jul 2010 12:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-11450</guid>
		<description>Agree with Landlord sit.Various of online games provided are dynamic sense and free indefinitely.We are looking forward to you to here share the experience of &lt;br&gt;exciting game competition! &lt;a href=&quot;http://www.dior-store.com/Dior-homme-shoes.html&quot;  rel=&quot;nofollow&quot;&gt;Dior homme shoes&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Agree with Landlord sit.Various of online games provided are dynamic sense and free indefinitely.We are looking forward to you to here share the experience of <br />exciting game competition! <a href="http://www.dior-store.com/Dior-homme-shoes.html"  rel="nofollow">Dior homme shoes</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Владимир</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-11411</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Tue, 06 Jul 2010 19:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-11411</guid>
		<description>хорошо, учту</description>
		<content:encoded><![CDATA[<p>хорошо, учту</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Александр</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-11409</link>
		<dc:creator>Александр</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-11409</guid>
		<description>класс, очень познавательно.&lt;br&gt;ещё бы очень хотелось бы если вы написали статью про модули, точнее его менеджер по модулям, подключение и удаление, и т.п.</description>
		<content:encoded><![CDATA[<p>класс, очень познавательно.<br />ещё бы очень хотелось бы если вы написали статью про модули, точнее его менеджер по модулям, подключение и удаление, и т.п.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexy4b</title>
		<link>http://www.simplecoding.org/yii-php-framework-sozdanie-zaprosov-s-usloviem-in.html#comment-11401</link>
		<dc:creator>Alexy4b</dc:creator>
		<pubDate>Mon, 05 Jul 2010 17:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplecoding.org/?p=1092#comment-11401</guid>
		<description>Проверь пожалуйста мейл на &lt;a href=&quot;http://gala.net&quot; rel=&quot;nofollow&quot;&gt;gala.net&lt;/a&gt;, там как вопрос об использовании CGridView.</description>
		<content:encoded><![CDATA[<p>Проверь пожалуйста мейл на <a href="http://gala.net" rel="nofollow">gala.net</a>, там как вопрос об использовании CGridView.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

