<?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: Records doesn't show up. Grid empty. Why?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/records-doesnt-show-up-grid-empty-why</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/records-doesnt-show-up-grid-empty-why/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>internetbug256 on Records doesn't show up. Grid empty. Why?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/records-doesnt-show-up-grid-empty-why#p4264</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/records-doesnt-show-up-grid-empty-why#p4264</guid>
        	        	<description><![CDATA[<p>Ok, 10 minutes after I posted this question, I found the cause.</p>
<p>My PHP script wasn&#39;t setting the $_GET[sidx] variable, making my SQL syntax as this:</p>
<p>SELECT ...<br />FROM ...<br />ORDER BY 0</p>
<p>and thus the SQL sentence giving an error. This wasn&#39;t happening when I run my php script from the browser bc $_GET[sidx] was not defined. <br />So beware folks to properly manage default variables in your PHP scripts! they might come empty!</p>
<p>Regards<br />Gabriel</p>
]]></description>
        	        	<pubDate>Fri, 30 Jan 2009 13:01:04 +0200</pubDate>
        </item>
        <item>
        	<title>internetbug256 on Records doesn't show up. Grid empty. Why?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/records-doesnt-show-up-grid-empty-why#p4262</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/records-doesnt-show-up-grid-empty-why#p4262</guid>
        	        	<description><![CDATA[<p>Hi there. This is my first post.</p>
<p>I&#39;ve been testing this grid for a week so far (samples run fine), but for some reason my first real test (against one of my ongoing project&#39;s DB) shows me no records at all.</p>
<p>I am using &#160;&#160;&#160; url:&#39;ajax/some_ajax.php&#39; and datatype: &#39;xml&#39; to get the records from the DB.</p>
<p>If I run ajax/some_ajax.php alone, it pulls a nice and beautiful xml stream.</p>
<p>If I replace the url:&#39;ajax/some_ajax.php&#39; by url:&#39;ajax/output.xml&#39;, being this xml file the static version of what I get from the ajax/some_ajax.php, the damn thing works fine and I see the records.</p>
<p>My first thought was that I was making a mistake with the header files in the php, but I triple checked and they are exactly the same as the sample provided in the grid package...</p>
<p>Do you know of any other common mistake one can make when pulling records form a php script generating the required xml?</p>
<p>I am testing with FFox 3 and Opera. Thanks in advance, and congratulations for this terrific piece of software.</p>
<p>Gabriel</p>
]]></description>
        	        	<pubDate>Fri, 30 Jan 2009 12:40:41 +0200</pubDate>
        </item>
</channel>
</rss>