<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-family: Tahoma;
font-weight: bold;
}
.style2 {font-size: 12px}
-->
</style>
</head>
<body>
<div align="center" class="style1">Registrieren</div>
<form id="reg" name="reg" method="post" action="">
<div align="center">Username
<table width="386" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180"><div align="left">Username</div></td>
<td width="206"><div align="center">
<input name="usernames" type="text" id="usernames" />
</div></td>
</tr>
<tr>
<td><div align="left">Passwort</div></td>
<td><div align="center">
<input name="passs" type="password" id="passs" />
</div></td>
</tr>
<tr>
<td><div align="left">Nickname</div></td>
<td><div align="center">
<input name="nickname" type="text" id="nickname" />
</div></td>
</tr>
<tr>
<td><div align="left">Email</div></td>
<td><div align="center">
<input name="email" type="text" id="email" />
</div></td>
</tr>
<tr>
<td><div align="left">User-Pic<span class="style2">(ref. link)</span></div></td>
<td><div align="center">
<input name="user-pic" type="text" id="userpic" />
</div></td>
</tr>
<tr>
<td><div align="left">Informationen über dich </div></td>
<td><div align="center">
<input name="user-text" type="text" id="usertext" />
</div></td>
</tr>
<tr>
<td><div align="left"></div></td>
<td><div align="center">
<input type="submit" name="Submit2" value="Submit" />
</div></td>
</tr>
</table>
<br />
<br />
<br />
</div>
</form>
<p> </p>
</body>
</html>
<?php
if(isset($Submit2))
{
include("dbconnectinfo.php");
$sql = "INSERT INTO profil Set nickname='$nickname', username='$usernames', passwort='$$passs', email='$email', userpic='$userpic', usertext='$usertext)'";
mysql_query($sql) OR DIE(mysql_error());
}
?>