PHP Classes

File: dropfield2.php

Recommend this page to a friend!
  Classes of Marius  >  dbFile  >  dropfield2.php  >  Download  
File: dropfield2.php
Role: Application script
Content type: text/plain
Description: dropfield2.php
Class: dbFile
file based web database and Administrator
Author: By
Last change:
Date: 18 years ago
Size: 512 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
    <title>Drop field <?php print("$Field"); ?></title>
            <link rel="stylesheet" href="settings.css" type="text/css">
</head>

<body>
<br><br><br><br>
<center>
<?php
include("common.inc");

$dbf->select_db($DB);
$query = "ALTER TABLE $TABLE DROP COLUMN $Field";

$result = $dbf->query($query) or die("ERROR while dropping field, not found!");
print(
"Field succesfully dropped!");
?>
</center>


</body>
</html>

For more information send a message to info at phpclasses dot org.