Login   Register  
PHP Classes
elePHPant
Icontem

File: droptable2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marius  >  dbFile  >  droptable2.php  >  Download  
File: droptable2.php
Role: Application script
Content type: text/plain
Description: droptable2.php
Class: dbFile
file based web database and Administrator
Author: By
Last change:
Date: 2004-04-19 04:37
Size: 717 bytes
 

Contents

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

<html>
<head>
    <title>Rename table <?php print("$TABLE"); ?></title>
            <link rel="stylesheet" href="settings.css" type="text/css">
<script language="JavaScript1.2">
    alert(parent.window.document.frames['middleup'].src);
    parent.window.document.frames['middleup'].src = "showtables.php?DB=<?echo ($DB);?>";
</script>            
</head>

<body onunload="refresh_parent();">
<br><br><br><br>
<center>
<?php
include("common.inc");
$dbf->select_db($DB);

$query "DROP TABLE $Tablename";
$result $dbf->query($query) or die("ERROR while dropping table, not found!");
print(
"Table succesfully dropped!");
?>
</center>


</body>
</html>