echo "<input type='text' name='pw1' maxlength='100' class='textbox' style='width: 200px;'>"; $pw1 = substr(stripinput(trim($_POST['pw1'])),0,12);