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, 02: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 03:01 AM.
05-02-2014, 11:34 AM #2
- Join Date
- Jan 2010
- Behind the Wall
- Thanked 342 Times in 338 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