AW: [PHP-DB] SELECT problem (2)
| From: | Matthias Kopolt | Date: | Thu, 22 Feb 2001 23:23:17 +0000 |
| Subject: | AW: [PHP-DB] SELECT problem (2) | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6892@lists.php.net to get a copy of this message | ||
look at your produced HTML-Code.
it may produce something like
<SELECT
onChange="window.location="myfile.php?campus+="this.value"""
NAME='campus'>
I#M not sure if this is what you wanted to produce
echo("<SELECT
onChange=\"window.location='$PHP_SELF?campus='+this.value\"
NAME='campus'>");
this would be more suitable
-----Ursprungliche Nachricht-----
Von: Julio Cuz, Jr. [mailto:jcuz@rccd.cc.ca.us]
Gesendet: Donnerstag, 22. Februar 2001 22:36
An: php-db@lists.php.net
Betreff: [PHP-DB] SELECT problem (2)
Hi--
Sorry, I forgot to finish the previous e-mail: What's wrong with this line?
echo("<SELECT
onChange=\"window.location=\"$PHP_SELF?campus+=\"this.value\"\"\"
NAME='campus'>");
I'm trying to RELOAD the current page with the new value of "$campus" after
the user selects a campus from a drop-down menu. But I can't get the
"this.value" line to pass the value of "$campus" to the new loaded page.
Help!
Julio Cuz, Jr.
Riverside Community College
jcuz@rccd.cc.ca.us