PHP Classes

File: addfield.php

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

Contents

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

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

<body>
<center>
Add new field to table <font color=#FF0000><?php print("$TABLE"); ?></font> in database <font color=#FF0000><?php print("$DB"); ?></font><br><br>
<form name=form1 action=addfield2.php method=post>
<input type=hidden name=DB value="<?php print("$DB"); ?>">
<input type=hidden name=TABLE value="<?php print("$TABLE"); ?>">

<TABLE>
 
  <TR>
    <TD>Field name : </TD>
    <TD><INPUT name=COLUMN></TD></tr>
    <TR>
    <TD>Type : </TD>
    <TD><select name=type>
                    <option value="int">INT</option>
                    <option value="text">TEXT</option>
                </select>
        </TD></tr>
    <TR>
    <TD>Length : </TD>
    <TD><input type=text name=Length></TD></tr>
    <TR>
    <TD>Flag : </TD>
    <TD><select name=Flag>
                    <option value="null">NULL</option>
                    <option value="not_null">NOT NULL</option>
                    <option value="auto_increment">AUTO INCREMENT</option>
                    <option value="key">PRIMARY KEY</option>
                </select>
        </TD></tr>
    <TD><INPUT type=submit value="Add new field!"></TD></TR></TABLE></form>
</center>


</body>
</html>


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