<?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: setting editurl and search</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search</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/setting-editurl-and-search/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kicsikapa on setting editurl and search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search#p17665</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search#p17665</guid>
        	        	<description><![CDATA[<blockquote>
<p>irteza said:HI thanks for replying...i have already looked through those examples...i still couldn&#39;t find anything which could help me write the code for editurl page... they have referred to the page ..(someurl.php) but I want to understand how to pass the values from jqgrid to this page....how to define data for updating etc....can i please get any help with that???? Thanks</p>
</blockquote>
<hr />
<p>Hi!<br />Its pretty easy by empiric mode. Make a php file what insert all $_POST and $_GET key/value pairs into a 1 column SQL table or a text file. U will see all passed data by jqgrid.<br />Try search, edit, del, insert via jqgrid and u will get a passing definition for every action.<br />&#60;?php</p>
<p>$res = &#39;$_GET:&#39;;<br />foreach ($_GET as $k =&#62; $v){&#160;&#160; &#160; &#160; &#160;</p>
<p><span style="white-space: pre;"> </span>if(is_array($v)){&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p><span style="white-space: pre;"> </span>&#160;foreach($v as $k2 =&#62; $v2){</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$res .= "[".$k2."]=(".$v2.");";</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}</p>
<p>&#160;&#160; &#160; &#160; &#160;}else{</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$res .= "[".$k."]=(".$v.");";</p>
<p>&#160;&#160; &#160; &#160; &#160;}}$res.="$_POST:";</p>
<p>foreach ($_POST as $k =&#62; $v){</p>
<p>&#160;&#160; &#160; &#160; &#160;if(is_array($v)){</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;foreach($v as $k2 =&#62; $v2){</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$res .= "[".$k2."]=(".$v2.");";</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}</p>
<p>&#160;&#160; &#160; &#160; &#160;}else{</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$res .= "[".$k."]=(".$v.");";</p>
<p>&#160;&#160; &#160; &#160; &#160;}</p>
<p>}</p>
<p>//connect to sql database and run sql command to write $res//and the sql command something like that//"INSERT INTO tatblaname (fieldname) VALUES (&#39;$res&#39;)"<br />?&#62;<br />Kind Regards</p>
]]></description>
        	        	<pubDate>Wed, 02 Jun 2010 09:26:47 +0300</pubDate>
        </item>
        <item>
        	<title>irteza on setting editurl and search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search#p17605</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search#p17605</guid>
        	        	<description><![CDATA[<p>HI thanks for replying...i have already looked through those examples...i still couldn&#39;t find anything which could help me write the code for editurl page... they have referred to the page ..(someurl.php) but I want to understand how to pass the values from jqgrid to this page....how to define data for updating etc....can i please get any help with that???? Thanks</p>
]]></description>
        	        	<pubDate>Mon, 31 May 2010 14:23:25 +0300</pubDate>
        </item>
        <item>
        	<title>tony on setting editurl and search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search#p17584</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search#p17584</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The grid demo files contain a lot of examples with xml.</p>
<p>Regards</p></p>
]]></description>
        	        	<pubDate>Sun, 30 May 2010 13:24:22 +0300</pubDate>
        </item>
        <item>
        	<title>irteza on setting editurl and search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search#p17441</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-editurl-and-search#p17441</guid>
        	        	<description><![CDATA[<p>Hi .. i am a beginner at php and needed some help with jqgrid. I use mysql database and i have set the datatype as xml. I can retrieve data from the databse but I wanted to edit the data as well as perform search functions. I know this has to be implemented using editurl for editing data and server side coding for seaching. &#160;I downloaded the jqgridcrud example but they use JSON.&#160;Can anyone please point me to a good example for setting up editurl and search functions. Thanks</p>
]]></description>
        	        	<pubDate>Tue, 25 May 2010 12:04:17 +0300</pubDate>
        </item>
</channel>
</rss>