PHP Classes

File: ajaxdowork.php

Recommend this page to a friend!
  Classes of Danny Tucker   EZ Framework   ajaxdowork.php   Download  
File: ajaxdowork.php
Role: Auxiliary script
Content type: text/plain
Description: ajax working file
Class: EZ Framework
Framework providing several types of functionality
Author: By
Last change:
Date: 18 years ago
Size: 426 bytes
 

Contents

Class file image Download
<strong>
<?php
if(isset($_GET['object']))
{
    switch(
$_GET['object'] )
    {
        case
'car': echo 'You get in your car'; break;
        case
'desk': echo 'You pound on the desk'; break;
        case
'food': echo 'You eat some food you find on the floor'; break;
        case
'money': echo 'You spend all your money'; break;
        default: echo
'Invalid Object Selected'; break;
    }
} else
    echo
'Object Not Selected';
?>
</strong>