Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: option question
05-02-2014, 03:49 AM #1
I am adding a drop-down to my Subsection page to allow users to sort article summaries different ways.
In this sample...
How do I use PHP to make "Date" the default value, but still allow the user to choose another value AND make whatever value is selected "sticky"??
Last edited by doubledee; 05-02-2014 at 04:01 AM.
05-02-2014, 12:34 PM #2
- Join Date
- Jan 2010
- Behind the Wall
- Thanked 360 Times in 356 Posts
use theHow do I use PHP to make "Date" the default value
set themake whatever value is selected "sticky"??
selectedattribute to whatever option element you have the value for in your system (POST, DB, ...).
The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.André Behrens, NY Times Software Developer