Posted by Pedro Graca on 01/19/06 20:17
pete horm wrote:
> Index.html Login Page-//Usernames on MySQL -->
>
> trylogon.php-//Use $POST for Usernames and Passwords authenticates then
> opens -->
>
> Form.php-//Submit service request to MySQL -->
>
> Add.php-//Adds info to the database, prints confirmation page.
>
> This is all working fine. The one problem is that the "Form.php" page
> makes them enter their Username again in the form. Users would like it to
> automatically populate that with the Username they plugged into the Login
> page. I don't know how to go about this?
<snip>
Try replacing your
<input type="text" name="username">
with
<input type="text" name="username" value="<?php echo $username; ?>">
--
If you're posting through Google read <http://cfaj.freeshell.org/google>
Navigation:
[Reply to this message]
|