<?php
// ************************************************ ***************************
// SERVER PART - these are usually database changes
// ************************************************ ***************************
/*
PROBLEMS OF PROGRAMMING SCRIPTES:

1. All scripts, including this one, are parts of the code that are inserted into the appropriate places in the tables.php code.

2. The above script shows buttons for 3 linked tables. Do not pay attention to redundancy for
1 and 2 related tables.

3. As a rule, the scripts of the client part form part of a single algorithm for data processing.
This part usually contains the conditions for starting the algorithm based on the analysis of the data from the client.
Developers recommend to reduce the load on the server include in the client script as large as possible
Possible part of the processing algorithm is given.

4. Debugging the code is done by clicking the Test button and analyzing the result and error messages.

5. The client and server parts of the scripts are represented by a primitive message issuing code.

6. You can use the code snippets to write scripts.
You can do this efficiently using the tables.php objects. For this you need to get acquainted with tables.php.

7. It's impossible to tell everything and it's necessary? How do you think ? Write to the developers about the wishes.*/
//*******************************
//        FATER BUTTON PROCESSING
//*******************************
if (isset ($_REQUEST["button11"]))      // if you click 1 button
//****************************************************************************
{
// here on PHP, enter the server part of the father
$soob="The button 11 was pressed!";
}
//****************************************************************************
if (isset ($_REQUEST["button12"]))      // if you click 2 button
//****************************************************************************
{
// here on PHP, enter the server part of the father
$soob="The button 12 was pressed!";
}
//****************************************************************************
if (isset ($_REQUEST["button13"]))      // if you click 3 button
//****************************************************************************
{
//here on PHP, enter the server part of the father
$soob="The button 13 was pressed!";
}
//************************************
//        PROCESSING SONG BUTTONS
//************************************
if (isset ($_REQUEST["button21"]))      // if you click 1 button
//****************************************************************************
{
// here on PHP, enter the server part of the son code
$soob="The button21 was pressed!";
}
//****************************************************************************
if (isset ($_REQUEST["button22"]))      // if you click 2 button
//****************************************************************************
{
// here on PHP, enter the server part of the son code
$soob="The button22  was pressed!";
}
//****************************************************************************
if (isset ($_REQUEST["button23"]))      // if you click 3 button
//****************************************************************************
{
// here on PHP, enter the server part of the son code
$soob="The button23 was pressed!";
}

//************************************
//        HANDLING THE BUTTONS GRANDSON
//************************************
if (isset ($_REQUEST["button31"]))      // if you click 1 button
//****************************************************************************
{
// here on PHP enter the server part of the grandson
$soob="The button31 was pressed!";
}
//****************************************************************************
if (isset ($_REQUEST["button32"]))      // if you click 2 button
//****************************************************************************
{
// here on PHP enter the server part of the grandson
$soob="The button32 was pressed!";
}
//****************************************************************************
if (isset ($_REQUEST["button33"]))      // if you click 3 button
//****************************************************************************
{
// here on PHP enter the server part of the grandson
$soob="The button33 was pressed!";
}
?>