<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Editable Content Using MooTools 1.2, PHP, and&#160;MySQL</title> <atom:link href="http://davidwalsh.name/editable-content-mootools-php-mysql/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/editable-content-mootools-php-mysql</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Tue, 22 May 2012 16:21:46 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Santana</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-31000</link> <dc:creator>Santana</dc:creator> <pubDate>Wed, 14 Mar 2012 03:55:41 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-31000</guid> <description>What if I want to be able to click a button that I title edit to make my editable fields active?  Do I need to specify something different than the dblclick event?  Or do I need to set the dblclick event attached to my button?</description> <content:encoded><![CDATA[<p>What if I want to be able to click a button that I title edit to make my editable fields active?  Do I need to specify something different than the dblclick event?  Or do I need to set the dblclick event attached to my button?</p> ]]></content:encoded> </item> <item><title>By: Raja</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-27306</link> <dc:creator>Raja</dc:creator> <pubDate>Thu, 20 Oct 2011 02:45:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-27306</guid> <description>This was easy to implement. Thanks for the post.</description> <content:encoded><![CDATA[<p>This was easy to implement. Thanks for the post.</p> ]]></content:encoded> </item> <item><title>By: afro360</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-23692</link> <dc:creator>afro360</dc:creator> <pubDate>Sat, 23 Apr 2011 21:25:05 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-23692</guid> <description>Would be nice to see nicedit inline edit used.</description> <content:encoded><![CDATA[<p>Would be nice to see nicedit inline edit used.</p> ]]></content:encoded> </item> <item><title>By: tarik</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-21489</link> <dc:creator>tarik</dc:creator> <pubDate>Thu, 02 Dec 2010 19:14:53 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-21489</guid> <description>simply perfect!</description> <content:encoded><![CDATA[<p>simply perfect!</p> ]]></content:encoded> </item> <item><title>By: Elwood</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-21259</link> <dc:creator>Elwood</dc:creator> <pubDate>Tue, 09 Nov 2010 16:32:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-21259</guid> <description>Hello !I&#039;ve found a bug in your script. If you double-click on a text and you double-click again, the input value is &lt; input type=&quot;text&quot;....An idea for block this action ?</description> <content:encoded><![CDATA[<p>Hello !</p><p>I&#8217;ve found a bug in your script. If you double-click on a text and you double-click again, the input value is &lt; input type=&quot;text&quot;&#8230;.</p><p>An idea for block this action ?</p> ]]></content:encoded> </item> <item><title>By: pSouper</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-19756</link> <dc:creator>pSouper</dc:creator> <pubDate>Mon, 06 Sep 2010 19:55:12 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-19756</guid> <description>Hi David,
Thanks for the hard work on this, would/could it be able to tackle drop-down lists too?cheers,</description> <content:encoded><![CDATA[<p>Hi David,<br
/> Thanks for the hard work on this, would/could it be able to tackle drop-down lists too?</p><p>cheers,</p> ]]></content:encoded> </item> <item><title>By: Jade</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-19560</link> <dc:creator>Jade</dc:creator> <pubDate>Fri, 27 Aug 2010 08:28:53 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-19560</guid> <description>Hi this is my code&lt;code&gt;
$home_query = &quot;SELECT page_ID, page_name, page_content FROM tbl_pages WHERE page_name = &#039;home&#039;&quot;;if(isset($_SESSION[&#039;login_name&#039;]) &amp;&amp; is_numeric($_POST[&#039;id&#039;]) &amp;&amp; isset($_POST[&#039;content&#039;]))
{
$query = &quot;UPDATE tbl_pages SET page_content = &#039;&quot;.mysql_real_escape_string(stripslashes($_POST[&#039;content&#039;])).&quot;&#039; WHERE page_ID = &quot;.(int)$_POST[&#039;id&#039;];
$result = mysql_query($query,$db_link);
}
$home_result = mysql_query ($home_query);
$row = mysql_fetch_array ($home_result, MYSQL_ASSOC);
if(isset($_SESSION[&#039;login_name&#039;]))
{
echo &#039;
&#039;.&quot;{$row[&#039;page_content&#039;]}&quot;.&#039;
&#039;;
}else{
echo &#039;
&#039;.&quot;{$row[&#039;page_content&#039;]}&quot;.&#039;
&#039;;
}?&gt;
&lt;/code&gt;I cant get my database to update any suggestions?Cheers,</description> <content:encoded><![CDATA[<p>Hi this is my code</p><p><code><br
/> $home_query = "SELECT page_ID, page_name, page_content FROM tbl_pages WHERE page_name = 'home'";</p><p>if(isset($_SESSION['login_name']) &amp;&amp; is_numeric($_POST['id']) &amp;&amp; isset($_POST['content']))<br
/> {<br
/> $query = "UPDATE tbl_pages SET page_content = '".mysql_real_escape_string(stripslashes($_POST['content']))."' WHERE page_ID = ".(int)$_POST['id'];<br
/> $result = mysql_query($query,$db_link);<br
/> }</p><p>$home_result = mysql_query ($home_query);<br
/> $row = mysql_fetch_array ($home_result, MYSQL_ASSOC);<br
/> if(isset($_SESSION['login_name']))<br
/> {<br
/> echo '</p><p> '."{$row['page_content']}".'<br
/> ';<br
/> }else{<br
/> echo '<br
/> '."{$row['page_content']}".'<br
/> ';<br
/> }?&gt;<br
/> </code></p><p>I cant get my database to update any suggestions?</p><p>Cheers,</p> ]]></content:encoded> </item> <item><title>By: Arnar G</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-17680</link> <dc:creator>Arnar G</dc:creator> <pubDate>Tue, 18 May 2010 18:51:57 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-17680</guid> <description>This example works out great, I edited it a bit to implement into my CMS.I wrote a custom PHP script that passes on more variables seperated by a - to declare to the php what it is supposed to update.That way this code can very easily be implemented into any application.I also disabled the Alert notify since I prefer not to get that window popping up everytime I edit my site.</description> <content:encoded><![CDATA[<p>This example works out great, I edited it a bit to implement into my CMS.</p><p>I wrote a custom PHP script that passes on more variables seperated by a &#8211; to declare to the php what it is supposed to update.</p><p>That way this code can very easily be implemented into any application.</p><p>I also disabled the Alert notify since I prefer not to get that window popping up everytime I edit my site.</p> ]]></content:encoded> </item> <item><title>By: Doug McDonald</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-17615</link> <dc:creator>Doug McDonald</dc:creator> <pubDate>Fri, 14 May 2010 23:41:21 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-17615</guid> <description>Hi there, am I missing something regarding ajax calls to a php page? using the above example I&#039;ve removed all the conditional bits regarding $_post requirements but my pages don&#039;t seem to reflect any alteration when the ajax event is fired.it&#039;s clearly getting as far as the js alert, but using a slightly dumbed down php/mysql example as per this example i don&#039;t seem to even get into the code block when either including the php in the page itself, or firing the Reqest() to a different page.Any chance you could offer a tiny touch more explanation on the interaction between mootools and php/mysql? or am I just being a lemon! :P</description> <content:encoded><![CDATA[<p>Hi there, am I missing something regarding ajax calls to a php page? using the above example I&#8217;ve removed all the conditional bits regarding $_post requirements but my pages don&#8217;t seem to reflect any alteration when the ajax event is fired.</p><p>it&#8217;s clearly getting as far as the js alert, but using a slightly dumbed down php/mysql example as per this example i don&#8217;t seem to even get into the code block when either including the php in the page itself, or firing the Reqest() to a different page.</p><p>Any chance you could offer a tiny touch more explanation on the interaction between mootools and php/mysql? or am I just being a lemon! :P</p> ]]></content:encoded> </item> <item><title>By: jon</title><link>http://davidwalsh.name/editable-content-mootools-php-mysql#comment-16757</link> <dc:creator>jon</dc:creator> <pubDate>Sat, 03 Apr 2010 13:22:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=309#comment-16757</guid> <description>Is there anyway to add passowrd protection? I want to use this on a webpage for a gig list but boviously only want the club owner to be able to change it.Regards</description> <content:encoded><![CDATA[<p>Is there anyway to add passowrd protection? I want to use this on a webpage for a gig list but boviously only want the club owner to be able to change it.</p><p>Regards</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.007 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-22 17:17:43 -->
