Login   Register  
PHP Classes
elePHPant
Icontem

File: include.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Christian Zinke  >  PHP - Handle in Place Editor  >  include.php  >  Download  
File: include.php
Role: Example script
Content type: text/plain
Description: HandlingInput
Class: PHP - Handle in Place Editor
Embed in place editors using Scriptaculous
Author: By
Last change:
Date: 2009-02-19 00:57
Size: 372 bytes
 

Contents

Class file image Download
<?php
/*
* Here you can handle your Inputs
*
*/
if(isset($_REQUEST))
{
  switch(
$_REQUEST['editorId'])
  {
    case 
'test1':  
      
//some SQL or other actions can be placed here
      
echo $_REQUEST['value'];
    break;
    case 
'test2':  
      
//some SQL or other actions can be placed here
      
echo $_REQUEST['value'];
    break;

  
  }
}
?>