03-06-2011, 11:44 AM
So this I got a basic login form on my index.php, and normally you would see two input boxes right ? Now, my question is how do I put a text in the input boxes when the page loads up. I tried echoing but it didn't work for me or I might did it wrong.
Here is an example I made how I wanted it to show up.
Thanks.
PHP Code:
<form action='index2.php' method='POST'>
<input type='text' name='username'></br>
<input type='password' name='password'></br>
<input type='submit' value='Submit'></br>
</form>
Here is an example I made how I wanted it to show up.
Thanks.