Location: PHPKode > projects > Online TV Database > thetvdb/tab_register.php
<div class="section">
<form action="<?=$fullurl?>" method="POST">
<div id="red"><?=$errormessage?></div>
<table cellspacing="2" cellpadding="2" border="0" align="center">
	<td><input type="text" name="username" value="<?=$username?>"></td>
	<td><input type="password" name="userpass1"></td>
	<td><b>Re-Enter Password</b></td>
	<td><input type="password" name="userpass2"></td>
	<td><b>Email Address</b></td>
	<td><input type="text" name="email" value="<?=$email?>"> (will only be used to send password reset information)</td>
	<td><b>Preferred Language</b></td>
		<select name="languageid" size="1">
				## Display language selector
				foreach ($languages AS $langid => $langname)  {
					## If we have the currently selected language
					if (7 == $langid)  {
						$selected = 'selected';
					## Otherwise
					else  {
						$selected = '';
					print "<option value=\"$langid\" $selected>$langname</option>\n";
	<td><input type="submit" name="function" value="Register"></td>

Return current item: Online TV Database