PHP Classes

File: addtable2.php

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

Contents

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

<html>
<head>
    <title>Add new table to database <?php print("$DB"); ?></title>
        <link rel="stylesheet" href="settings.css" type="text/css">
</head>

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

$dbf->select_db($DB);

$query = "CREATE TABLE $Tablename 'Id int(3) auto_increment'";
$result = $dbf->query($query) or die("ERROR while adding new table");
print(
"New table has been added succesfully!");
?>
</center>


</body>
</html>