<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1060125" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1060125</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Event handling in</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/event-handling-php-using-controls#comment-1289077</link>
    <description> &lt;p&gt;Event handling in PHP&lt;br /&gt;
====================&lt;br /&gt;
PHP supports Event handling mechanism, it supports different type of Events like Get, Put, Post etc...&lt;br /&gt;
Ex.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Handler &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;onGET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;onGET&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp; function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;onPOST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;onPOST&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp; function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;onPUT&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;onPUT&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp; function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;onDELETE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;onDELETE&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Event Handling In Javascript&lt;br /&gt;
============================&lt;br /&gt;
There is also some other events link mouseover, mousein, mouseout that is suppored by  javascripts. we can use this events in our form.&lt;/p&gt;
 </description>
     <pubDate>Wed, 05 Nov 2014 10:14:37 +0000</pubDate>
 <dc:creator>Mary Whitley</dc:creator>
 <guid isPermaLink="false">comment 1289077 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>PHP is a server side</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/event-handling-php-using-controls#comment-1288892</link>
    <description> &lt;p&gt;PHP is a server side language, which means all execution is done on the server based (most of the time) upon individual requests from a browser. &lt;/p&gt;
&lt;p&gt;in order for it to act upon something you do in the browser (other than responding to you calling a script with options POST/GET data), you need to also include a client-side language, such as Javascript.&lt;/p&gt;
&lt;p&gt;Javascript can detect the user interaction, and then make calls to a script on a server usually via AJAX. PHP would process that script and output some type of information that the javascript can work with (such as JSON formatted data).&lt;/p&gt;
&lt;p&gt;A big thing to remember is that unlike a standard standalone application, when you make a call to PHP, the script runs and then stops. Each interaction starts a fresh new call to scripts, so you need some method (usually $_SESSION) to keep track of a user&#039;s activity between each time a script is called.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Sep 2014 07:27:00 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1288892 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
