Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
set_select() makes all options selected, ignores third parameter
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
set_select() makes all options selected, ignores third parameter
El Forum
Guest
#10
10-18-2010, 07:21 AM
[eluser]LiorBroshi[/eluser]
it should actually be:
Code:
if(isset($_POST[$field]) && $_POST[$field] == $value) {
return ' selected="selected"';
}
Messages In This Thread
set_select() makes all options selected, ignores third parameter
- by El Forum - 10-24-2008, 06:48 AM
set_select() makes all options selected, ignores third parameter
- by El Forum - 10-24-2008, 12:18 PM
set_select() makes all options selected, ignores third parameter
- by El Forum - 10-24-2008, 01:07 PM
set_select() makes all options selected, ignores third parameter
- by El Forum - 10-27-2008, 04:02 AM
set_select() makes all options selected, ignores third parameter
- by El Forum - 10-28-2008, 03:50 AM
set_select() makes all options selected, ignores third parameter
- by El Forum - 03-16-2009, 07:01 PM
set_select() makes all options selected, ignores third parameter
- by El Forum - 03-29-2009, 01:50 PM
set_select() makes all options selected, ignores third parameter
- by El Forum - 05-11-2009, 10:03 PM
set_select() makes all options selected, ignores third parameter
- by El Forum - 06-10-2009, 04:20 AM
set_select() makes all options selected, ignores third parameter
- by El Forum - 10-18-2010, 07:21 AM
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB