<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Strange behavior of $grid-&#62;SelectCommand</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/strange-behavior-of-grid-selectcommand</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/strange-behavior-of-grid-selectcommand/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Strange behavior of $grid-&#62;SelectCommand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/strange-behavior-of-grid-selectcommand#p24526</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/strange-behavior-of-grid-selectcommand#p24526</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Please post your problem here.</p>
<p><a href="http://www.trirand.net/forum/" rel="nofollow" target="_blank">http://www.trirand.net/forum/</a></p>
<p>It seems You use the commertial PHP component.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 05 Sep 2011 19:39:55 +0300</pubDate>
        </item>
        <item>
        	<title>aljosa on Strange behavior of $grid-&#62;SelectCommand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/strange-behavior-of-grid-selectcommand#p24519</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/strange-behavior-of-grid-selectcommand#p24519</guid>
        	        	<description><![CDATA[<p>HI,</p>
<p>I have strange problem. If I use "SELECT filed1, field2.... FROM some_table WHERE field1 LIKE &#39;something&#39;" in "$grid-&#62;SelectCommand", everything is working as it should, but if I use variable "SELECT filed1, field2.... FROM some_table WHERE field1 LIKE &#39;$get_variable&#39;" I do not get expected result.</p>
<p>The strange is that I check this variable like this:</p>
<p>$query1 = "......some_table WHERE field1 LIKE &#39;something&#39;";</p>
<p>$query2 = "......some_table WHERE field1 LIKE &#39;$get_variable&#39;";</p>
<p>if ($query1 == $query2) { echo "OK"; } else { echo "NOT OK"; }</p>
<p>-----------</p>
<p>I get "OK", but if I use it in "$grid-&#62;SelectCommand" I am not getting the same result (at $query2 I do not get any records).</p>
<p>The funiest is that if I define this variable like $get_variable = "something"; its working, but if I get this variable like $get_variable&#160;= ($_GET[&#39;get_variable&#39;]) ? $_GET[&#39;get_variable&#39;] : $_POST[&#39;get_variable&#39;]; then it I do not get any result.</p>
<p>Any ideas?</p>
]]></description>
        	        	<pubDate>Mon, 05 Sep 2011 13:09:56 +0300</pubDate>
        </item>
</channel>
</rss>