public static function createViewFor(WOOOF $wo, $p_database, $p_objectName)
 {
     $t = new WOOOF_dataBaseTable($wo->db, $p_objectName);
     if (!$t->constructedOk) {
         return FALSE;
     }
     if ($t->getIsView() == '1') {
         return '';
     }
     $sql = "\n\t\t\tselect \n";
     return 'What?';
 }
$content = '';
if (!isset($_GET['table']) && !isset($_POST['table'])) {
    header("Location: dbManager.php?tm={$tm}");
    exit;
} else {
    if (isset($_GET['table']) && $_GET['table'] == '' || isset($_POST['table']) && $_POST['table'] == '') {
        header("Location: dbManager.php?tm={$tm}");
        exit;
    }
}
if (isset($_POST['table'])) {
    $_GET['table'] = $_POST['table'];
}
//used in order to be sure that the requested table exists
$t = new WOOOF_dataBaseTable($wo->db, $_GET['table']);
if ($t->getIsView() == '1') {
    header("Location: dbManager.php?tm={$tm}");
    exit;
}
$noOfColumns = 9;
// must be < 10
if (isset($_POST['submit']) && $_POST['submit'] == 'create') {
    for ($c = 1; $c <= $noOfColumns; $c++) {
        if ($_POST['name' . $c] != '') {
            if (!isset($_POST['notNull' . $c]) || $_POST['notNull' . $c] != '1') {
                $_POST['notNull' . $c] = '0';
            }
            if (!isset($_POST['isReadOnly' . $c]) || $_POST['isReadOnly' . $c] != '1') {
                $_POST['isReadOnly' . $c] = '0';
            }
            if (!isset($_POST['isInvisible' . $c]) || $_POST['isInvisible' . $c] != '1') {