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


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

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

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"); ?>">

    <TD>Field name : </TD>
    <TD><INPUT name=COLUMN></TD></tr>
    <TD>Type : </TD>
    <TD><select name=type>
                    <option value="int">INT</option>
                    <option value="text">TEXT</option>
    <TD>Length : </TD>
    <TD><input type=text name=Length></TD></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>
    <TD><INPUT type=submit value="Add new field!"></TD></TR></TABLE></form>


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