Optional Default Value |
I am new to CodeIgniter, I love it! So simple!
I'm getting to know the basics so I'm creating a user management system. Logging in, out and registering all works fantastic. I am currently working on the editing of the profile. I want the default value of the input fields to be the session variable of first_name and last_name however if the form has been posted I want the default value to be the post variable instead. This is my application/views/profile/edit.php. PHP Code: <div class="container"> I hope I have made this easy enough to understand, Thank you in advance! |
Messages In This Thread |
Optional Default Value - by miiikkeyyyy - 02-28-2015, 09:24 AM
RE: Optional Default Value - by silentium - 02-28-2015, 01:00 PM
RE: Optional Default Value - by miiikkeyyyy - 03-01-2015, 06:08 AM
RE: Optional Default Value - by silentium - 03-01-2015, 04:11 PM
RE: Optional Default Value - by RobertSF - 02-28-2015, 04:49 PM
RE: Optional Default Value - by SomeGuy - 02-28-2015, 07:37 PM
|