<?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: Does anyone have a sample .php file for use with editurl?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl</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/does-anyone-have-a-sample-php-file-for-use-with-editurl/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>chucky2183 on Does anyone have a sample .php file for use with editurl?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p25642</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p25642</guid>
        	        	<description><![CDATA[<p>And how i can do the same but not modifying the database? I only want to add, edit, and delete an empty grid. I have days with this.</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Wed, 11 Jan 2012 23:32:03 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Does anyone have a sample .php file for use with editurl?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p24644</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p24644</guid>
        	        	<description><![CDATA[<p>Well</p>
<p>It is very easy to say not work -</p>
<p>Please specify example code, browser, OS</p>
<p>This way you will save your and our time</p>
<p>Please do this into the future &#8211; if not &#8211; no help</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Fri, 16 Sep 2011 17:04:10 +0300</pubDate>
        </item>
        <item>
        	<title>djkuddel on Does anyone have a sample .php file for use with editurl?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p24636</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p24636</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I have the same issue. It seem, that the editurl for edit do not work.<img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
<p>It would be great if someone could help.</p>
</p>
<p>Best regards,</p>
<p>DJ</p>
]]></description>
        	        	<pubDate>Fri, 16 Sep 2011 01:05:30 +0300</pubDate>
        </item>
        <item>
        	<title>jayasri on Does anyone have a sample .php file for use with editurl?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p24599</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p24599</guid>
        	        	<description><![CDATA[<p>Hi <strong>BenRivera,</strong></p>
</p>
<p><strong>its working fine for me.but update,delete is not woking because </strong><strong>$_POST[&#39;id&#39;] is not coming in someurl.php</strong>.</p>
</p>
<p>can you give me a solution for that..</p>
]]></description>
        	        	<pubDate>Tue, 13 Sep 2011 11:12:36 +0300</pubDate>
        </item>
        <item>
        	<title>BenRivera on Does anyone have a sample .php file for use with editurl?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p20721</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p20721</guid>
        	        	<description><![CDATA[<p>Here is an example:</p>
<p>&#60;?php<br />... create your database connection here...</p>
<p>include_once(&#39;functions.php&#39;);</p>
<p>if (isset($_POST["oper"])) {<br />&#160;&#160;&#160; if ($_POST["oper"] == "add") {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $insertSQL = sprintf("INSERT INTO users (login, pword, fname, lname, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; email, wphone, hphone, mphone, idlocations, idaccess, idorgunits,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; status, last_update_id, last_update_dt, expiration_dt)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, ifnull(%s,1000),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; current_timestamp(), DATE_ADD(current_timestamp(), INTERVAL 90 DAY))",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;login&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;pword&#39;], "password"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;fname&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;lname&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;email&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;wphone&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;hphone&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;mphone&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;idlocations&#39;], "int"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;idaccess&#39;], "int"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;idorgunits&#39;], "int"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;status&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_SESSION[&#39;MM_UserID&#39;], "int"));<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $Result = mysql_query($insertSQL, $metrics) or die(mysql_error());<br />&#160;&#160;&#160; } elseif ($_POST["oper"] == "edit") {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $editSQL = sprintf("update users set login = %s, pword = %s, fname = %s,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lname = %s, email =&#160; %s, wphone = %s, hphone = %s, mphone = %s,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; idlocations =&#160; %s, idaccess = %s, idorgunits = %s, status = %s,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; last_update_id = %s, last_update_dt = current_timestamp(),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; expiration_dt = DATE_ADD(current_timestamp(), INTERVAL 90 DAY)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; where idusers = %s",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;login&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;pword&#39;], "password"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;fname&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;lname&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;email&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;wphone&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;hphone&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;mphone&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;idlocations&#39;], "int"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;idaccess&#39;], "int"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;idorgunits&#39;], "int"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;status&#39;], "text"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_SESSION[&#39;MM_UserID&#39;], "int"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;id&#39;], "int"));<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $Result = mysql_query($editSQL, $metrics) or die(mysql_error());<br />&#160;&#160;&#160; } elseif ($_POST["oper"] == "del") {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $deleteSQL = sprintf("delete from users where idusers = %s",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GetSQLValueString($_POST[&#39;id&#39;], "int"));<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $Result = mysql_query($deleteSQL, $metrics) or die(mysql_error());<br />&#160;&#160;&#160; }<br />}<br />mysql_close($metrics);<br />?&#62;</p>
<p>The function.php file has the getsqlvaluestring function to return data in the format needed for sql.&#160; If you want this file, send me a PM.</p>
<p>Regards,</p>
<p>Ben</p>
]]></description>
        	        	<pubDate>Wed, 10 Nov 2010 04:45:56 +0200</pubDate>
        </item>
        <item>
        	<title>mblack24 on Does anyone have a sample .php file for use with editurl?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p20713</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/does-anyone-have-a-sample-php-file-for-use-with-editurl#p20713</guid>
        	        	<description><![CDATA[<p>I&#39;m using php to pull from a mysql table. Everything is working except for the adding new data and editing data part. I have the options available, I just don&#39;t know what the someurl.php page is supposed to look like in order to add the new or edited data to my table.</p>
</p>
<p>Does anyone have a .php page they&#39;ve created that they can share with me?<img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
]]></description>
        	        	<pubDate>Tue, 09 Nov 2010 19:11:38 +0200</pubDate>
        </item>
</channel>
</rss>