0

Hey.
I'm writing a script that processes some data.
The script creates a HTML page which contains a form that calls (action=) the same script and changes according to data asked.
So the user asks for something, the script goes to a DB, gets it and prints it into the HTML on a table.
Easy. Now the problem-
The form contains regular textboxes and selection (with options). I'd like to keep the values that the user asked for to be shown on the results page which is created by the same page (script).

Hopefuly I made my self clear :)

Any thoughts?

Thanks

1
Contributor
1
Reply
3
Views
4 Years
Discussion Span
Last Post by dvirdc
0

ok i solved it by comparing the values i put in the <option> with those i pass and put 'selected' on selected option.

thanks

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.