<?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: Updating Database--Embarassed</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/updating-database-embarassed</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/updating-database-embarassed/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>bhogsett on Updating Database--Embarassed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/updating-database-embarassed#p10044</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/updating-database-embarassed#p10044</guid>
        	        	<description><![CDATA[<p>SOLVED!</p>
<p>The problem had to do with difference in the _POST data coming from JGrid and the _POST data coming from my earlier implementation.</p>
<p>The IF construct in my earlier post works fine.</p>
<p>I had tried to put an emoticon in the title and it was converted to Embarassed, which perhaps is accurate!!!</p>
</p>
<p>Bill</p>
]]></description>
        	        	<pubDate>Wed, 23 Sep 2009 09:07:38 +0300</pubDate>
        </item>
        <item>
        	<title>bhogsett on Updating Database--Embarassed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/updating-database-embarassed#p10030</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/updating-database-embarassed#p10030</guid>
        	        	<description><![CDATA[<p>I am moving an existing table page with a mysql backend to jgrid and use php to access the database.&#160; I have delete working but not add or edit.&#160; Looking at the post items in firebug it sure looks like they are getting passed in.</p>
<p>Here is the php (which is based on an earlier post here):</p>
<p>&#160;&#160;&#160; if($_POST[&#39;oper&#39;]==&#39;add&#39;)<br />&#160;&#160;&#160; {&#160;&#160; // Add a New Round<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $newgame = $gh-&#62;getnewgame();<br />&#160;&#160;&#160; }<br />&#160;&#160;&#160; else if($_POST[&#39;oper&#39;]==&#39;del&#39;)<br />&#160;&#160;&#160; {&#160;&#160; //delete the Round<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $id = $_POST[&#39;id&#39;];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $gh-&#62;deleteGame($id);<br />&#160;&#160;&#160; }<br />&#160;&#160;&#160; else if ($_POST[&#39;oper&#39;]==&#39;edit&#39;)<br />&#160;&#160;&#160; {&#160;&#160; //edit the Round<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $id = $_POST[&#39;id&#39;];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $newgame = $gh-&#62;getnewgame($id);<br />&#160;&#160;&#160; }</p>
</p>
<p>Anyone see a problem with the code?</p>
</p>
<p>Bill</p>
]]></description>
        	        	<pubDate>Tue, 22 Sep 2009 23:13:23 +0300</pubDate>
        </item>
</channel>
</rss>