Location: PHPKode > projects > Tcpdb > tcpdb/user/index.php
<html>
<font face='verdana' color='#00066' size=5><strong>User</strong>
<form ACTION="index.php" method=GET>
<hr>
<p>
<table summary="">
<tr>
<td><font face='verdana' color='#00066' size=2>Username:</td>
<td><font face='verdana' color='#00066' size=2>Password:</td>
<td><font face='verdana' color='#00066' size=2>Full Name:</td>
</tr>
<tr>
<td><input type=text name=username size=30 maxlength=100></td>
<td><input type=password name=password size=30 maxlength=100></td>
<td><input type=text name=fullname size=30 maxlength=100></td>
<td><input type="submit" value="Add" name="add"></td>
</tr>
</table>

<?php
require '../config.php';

$username = $HTTP_GET_VARS["username"];
$password = $HTTP_GET_VARS["password"];
$fullname = $HTTP_GET_VARS["fullname"];

if ($add)
{
mysql_query ("INSERT INTO user (username, password, fullname) VALUES ('$username','$password','$fullname')"); 
}
require 'list_user.php';
?>

Return current item: Tcpdb