PHP Classes

File: editfield.php

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

Contents

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

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

<body>
<center>
Edit field <font color=#FF0000><?php print("$Field"); ?></font> in table <font color=#FF0000><?php print("$TABLE"); ?></font> in database <font color=#FF0000><?php print("$DB"); ?></font>
<form name=form1 action=editfield2.php method=post>
<input type=hidden name=Originalfield value="<?php print("$Field"); ?>">
<input type=hidden name=DB value="<?php print("$DB"); ?>">
<input type=hidden name=TABLE value="<?php print("$TABLE"); ?>">
<table border=0>
<tr><td>Field name : </td><td><input type=text name=Field value="<?php print("$Field"); ?>"></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>Lenght : </TD>
    <TD><input type=text name=Length value="<?php print("$len"); ?>"></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>
    <tr><TD></td><td><input type=submit value="Update!"></TD></TR>

</table>
</form>
</center>


</body>
</html>