<form method=post id="login" name="gochat" action="index.php"> <input type="text" name="nik" id="loginEmail" value="Ник" /> <input name="pass" type="password" id="loginPass" value="Пароль" /> <input type=submit value=' Войти в чат ' /> </form>