by deepak garg.
Use the following code
<form method="post" action="http://localhost/login/index_external.php">
<input type="text" name="username" placeholder="Username" value.="<php p($frm->username) ?>"></input>
<br>
<input type="password" name="password" placeholder="Password"></input>
<br>
<input type="submit" value="Submit"></input>
</form>