<?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: How to add primary Key Other Than id</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-primary-key-other-than-id</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/how-to-add-primary-key-other-than-id/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>bappyiub on How to add primary Key Other Than id</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-primary-key-other-than-id#p23416</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-primary-key-other-than-id#p23416</guid>
        	        	<description><![CDATA[<p>Can you explain a bit ? My code is where to add primary key? </p>
<p>$SQL = "SELECT * FROM jqrgrid_option_tb";<br />
    $result = mysql_query( $SQL ) or die("Couldn't execute query.".mysql_error());<br />
    $responce->page = $page;<br />
    $responce->total = $total_pages;<br />
    $responce->records = $count;<br />
    $responces->rows[$i]['fid']=PrimaryKey;</p>
<p>    $i=0;<br />
    while($row = mysql_fetch_array($result,MYSQL_ASSOC)) {<br />
        $responce->rows[$i]=$row;<br />
        $i++;<br />
	}<br />
	$json = new Services_JSON();<br />
    echo $json->encode($responce);</p>
]]></description>
        	        	<pubDate>Wed, 01 Jun 2011 02:17:33 +0300</pubDate>
        </item>
        <item>
        	<title>cvneo on How to add primary Key Other Than id</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-primary-key-other-than-id#p23412</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-primary-key-other-than-id#p23412</guid>
        	        	<description><![CDATA[<p>Hello,<br /> must set the primary key id in the PHP code that sends data to jqgrid:</p>
<p> $ responces-&#62; rows [$ i] [&#39;id&#39;] = PrimaryKey<br /> $ responces-&#62; rows [$ i] [&#39;cell&#39;] = array (...</p>
]]></description>
        	        	<pubDate>Tue, 31 May 2011 16:07:39 +0300</pubDate>
        </item>
        <item>
        	<title>bappyiub on How to add primary Key Other Than id</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-primary-key-other-than-id#p23408</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-primary-key-other-than-id#p23408</guid>
        	        	<description><![CDATA[<p>JqGrid take id as default primary key.How to add primary key other than id.</p>
<p>In my table I have id ,which is not not a primary key. And fid which is a primary key.How to make fid as primay key instead of id &#62;</p>
]]></description>
        	        	<pubDate>Tue, 31 May 2011 13:50:28 +0300</pubDate>
        </item>
</channel>
</rss>