php-db | 2001011
Date: 01/04/01
- Next message: James Treworgy: "Re: [PHP-DB] Preventing repost"
- Previous message: Pedro M. S. Oliveira: "Fw: [PHP-DB] Drop-down menus"
- Next in thread: JJeffman: "Re: [PHP-DB] Drop-down menus - Part 2"
- Reply: JJeffman: "Re: [PHP-DB] Drop-down menus - Part 2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Salvete,
I have yet another problem with drop-down-menues, although
the situation is a little different.
(and this is probably not the 100% right forum for this, but...)
A user is logged (session) in and can enter data in a form.
This data is posted to the next page, which allows the user
to preview the data and then the data is stored via
session_register().
If the user returns to the previous page (via back button) this
data is reentered from the session's global variables, via
"value=$some_var" in the form's fields, with one exception.
Drop-down-boxes, those can only be preselected (defaulted) by
placing the command "selected" in the OPTION-HTML-tag and thus
are not restored to their previous values.
Any ideas on how to restore them in an easy way?
Best regards,
Jochen Kaiser
<snip - thanx - I needed that one too>
> hello all, this is a piece of code i made, it works...
> some of the vars name are in portuguese. my first language.
> as the query but if you know a bit of sql and how php you will put
> this
> working fast
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: James Treworgy: "Re: [PHP-DB] Preventing repost"
- Previous message: Pedro M. S. Oliveira: "Fw: [PHP-DB] Drop-down menus"
- Next in thread: JJeffman: "Re: [PHP-DB] Drop-down menus - Part 2"
- Reply: JJeffman: "Re: [PHP-DB] Drop-down menus - Part 2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

