<?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: Problem getting $limit value on PHP file</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file</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/problem-getting-limit-value-on-php-file/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>pr0 on Problem getting $limit value on PHP file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6242</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6242</guid>
        	        	<description><![CDATA[<p>Fixed! omg small error are the more difficult. I have mtype: POST at grid config and my PHP file use $_GET method haha</p>
<p>Thx all, regards.</p>
]]></description>
        	        	<pubDate>Thu, 23 Apr 2009 09:02:44 +0300</pubDate>
        </item>
        <item>
        	<title>xuding on Problem getting $limit value on PHP file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6239</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6239</guid>
        	        	<description><![CDATA[<p>so the data is not posted out from your grid ?</p>
]]></description>
        	        	<pubDate>Thu, 23 Apr 2009 06:44:22 +0300</pubDate>
        </item>
        <item>
        	<title>pr0 on Problem getting $limit value on PHP file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6236</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6236</guid>
        	        	<description><![CDATA[<p>Its really neccesary post all PHP code?</p>
<p>At top of my file i have:</p>
<p>$page = $_GET[&#39;page&#39;]; // get the requested page<br />$limit = $_GET[&#39;rows&#39;]; // get how many rows we want to have into the grid<br /><strong>echo &#8220;limit: &#8220;.$limit;</strong><br />$sidx = $_GET[&#39;sidx&#39;]; // get index row - i.e. user click to sort <br />$sord = $_GET[&#39;sord&#39;]; // get the direction</p>
<p>rest of code here&#8230;</p>
<p>i printed $limit var and i get a empty value.</p>
<p><span style="text-decoration: underline;"><strong>EDIT:</strong></span></p>
<p>I tested all grid vars ($page, $limit, $sidx, $sord) and all post empty values at PHP file.</p>
<p>My actual PHP file is:</p>
<p>$page = $_GET[&#39;page&#39;];<br /><strong>echo &#8220;page: &#8220;.$page;</strong><br />$limit = $_GET[&#39;rows&#39;];<br /><strong>echo &#8220;limit: &#8220;.$limit;</strong><br />$sidx = $_GET[&#39;sidx&#39;];<br /><strong>echo &#8220;sidx: &#8220;.$sidx;</strong><br />$sord = $_GET[&#39;sord&#39;];<br /><strong>echo &#8220;sord: &#8220;.$sord;</strong></p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 23 Apr 2009 04:18:24 +0300</pubDate>
        </item>
        <item>
        	<title>xuding on Problem getting $limit value on PHP file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6234</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6234</guid>
        	        	<description><![CDATA[<p>can u post your php code here ?</p></p>
]]></description>
        	        	<pubDate>Thu, 23 Apr 2009 02:35:03 +0300</pubDate>
        </item>
        <item>
        	<title>pr0 on Problem getting $limit value on PHP file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6226</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-getting-limit-value-on-php-file#p6226</guid>
        	        	<description><![CDATA[<p>i have the following code to build grid:</p>
<p>jQuery("#grid").jqGrid({ <br /> &#160;&#160;&#160; &#160;&#160;&#160; url:&#39;.....&#39;,<br /> &#160;&#160;&#160; &#160;&#160;&#160; datatype: "json",<br /> &#160;&#160;&#160; &#160;&#160;&#160; colNames:[ ........], <br /> &#160;&#160;&#160; &#160;&#160;&#160; colModel:[ ........&#160; ],<br /> &#160;&#160;&#160; &#160;&#160;&#160; rowNum:5,<br /> &#160;&#160;&#160; &#160;&#160;&#160; altRows:true,<br /> &#160;&#160;&#160; &#160;&#160;&#160; imgpath: gridimgpath,<br /> &#160;&#160;&#160; &#160;&#160;&#160; mtype: "POST",<br /> &#160;&#160;&#160; &#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;),<br /> &#160;&#160;&#160; &#160;&#160;&#160; sortname: &#39;oferta&#39;,<br /> &#160;&#160;&#160; &#160;&#160;&#160; viewrecords: true,<br /> &#160;&#160;&#160; &#160;&#160;&#160; caption:"Cargas",<br /> &#160;&#160;&#160; &#160;&#160;&#160; hidegrid: false,<br /> &#160;&#160;&#160; &#160;&#160;&#160; width: 800,<br /> &#160;&#160;&#160; &#160;&#160;&#160; height: 300,<br /> &#160;&#160;&#160; &#160;&#160;&#160; multiselect: false,<br /> &#160;&#160;&#160; &#160;&#160;&#160; loadui:"disable",<br /> &#160;&#160;&#160; &#160;&#160;&#160; sortorder: "asc"<br /> &#160;&#160;&#160; }).navGrid("#pager",{search:false,edit:false,add:false,del:false,refresh:false});</p>
<p>All ok, but when i try to get the rowNum in a PHP file i get an empty value:</p>
<p>$page = $_GET[&#39;page&#39;]; // get the requested page<br /> $limit = $_GET[&#39;rows&#39;]; // THIS VAR GET EMPTY VALUE<br /> $sidx = $_GET[&#39;sidx&#39;]; // get index row - i.e. user click to sort <br /> $sord = $_GET[&#39;sord&#39;]; // get the direction</p>
<p>Anybody can help me?</p>
<p>Thx, regards!</p>
]]></description>
        	        	<pubDate>Wed, 22 Apr 2009 13:25:43 +0300</pubDate>
        </item>
</channel>
</rss>