if/else or javascript?
Moderator: General Moderators
-
christalix
- Forum Newbie
- Posts: 6
- Joined: Tue Oct 13, 2009 3:50 pm
if/else or javascript?
okEnds
Last edited by christalix on Sun Oct 18, 2009 2:53 am, edited 1 time in total.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Re: if/else or javascript?
Always use whitelists for user input. Save the data you are getting from the database for the dropdown menu and compare the user's selection against those values.