<?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: Ask delete function does not work</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/ask-delete-function-does-not-work</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/ask-delete-function-does-not-work/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Ask delete function does not work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/ask-delete-function-does-not-work#p14043</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/ask-delete-function-does-not-work#p14043</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In multiselct deletion scenario the data is posted separated by comm,</p>
<p>So if you select to delete the rows with id&#39;s 14 and 22, then the posted data is</p>
<p>14,22</p>
<p>Hope this helps</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 19 Jan 2010 11:48:16 +0200</pubDate>
        </item>
        <item>
        	<title>Candra on Ask delete function does not work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/ask-delete-function-does-not-work#p14021</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/ask-delete-function-does-not-work#p14021</guid>
        	        	<description><![CDATA[<div id="post13968">
<p>Dear all,</p>
<p>I need help. I am&#160;applying add, edit and delete function. It works&#160;on add dan edit function but niether does delete function. could anyone help me where is my error please?</p>
<p>How is the way to delete data on multiselect?</p>
<p>Here is my code:</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">&#60;?</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">include(&#39;config/connect.php&#39;); //connections</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">$id = $_POST[&#39;id&#39;]; //row id. this is the id of the selected row</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">if ($operation == &#8220;del&#8221;)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">{</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">$result = mysqli_query($link, &#8220;UPDATE table SET del = 2 WHERE id = &#39;$id&#39;&#8221;); //which syntax should I use?</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">$result = mysqli_query($link, &#8220;DELETE FROM table WHERE id = &#39;$id&#39;&#8221;); //which syntax should I use?</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">//both of them do not work</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">}</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">mysqli_close($link); </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: x-small;">?&#62;</span></span></p>
<p>Regards,</p>
</p>
<p>Candra</p>
</div>
]]></description>
        	        	<pubDate>Tue, 19 Jan 2010 04:54:37 +0200</pubDate>
        </item>
</channel>
</rss>