The process is for the User to fill in his/her username & password then redirected to personinfo page and the username is now automatically inserted into that page, but when that page is complete the User is redirected to the login page and I want the username automatically inserted into the username text box. This is the code that exists;
<input type="text" name="user-name" style="width: 18%; height: 4mm"; />
And this is what I've tried but it doesn't work;
<input type="text" name="user-name" readonly value="<?php echo $username->user_name; ?>" style="width: 18%; height: 4mm"; />
Does the database need to be loaded into the Login Controller?
Then when the User is logged in I want to be redirected to the home page of the User's country/stateprovince/city that is stored in the database. I don't know where to start for that.
Can anybody help?