If you mean after the page has been sent to the browser, then no, you can do
anything with PHP - you would need javascript for that. However, if you
mean that you want certain items to appear pre-selected, the you can do it
quite simply as follows (I have chosen the simplest example, rather than t
PHP can support it easily :)
On your form.php put:
// OPEN YOUR FORM
echo "\n";
//CREATE A SELECT BOX
echo "\n";
// A BUNCH OF CHOICES
echo "WORD\n";
//CLOSE YOUR FORM
echo "\n";
//END FORM.PHP?
In your post.php page put:
// DO SOME ERROR CHECKING FOR SAFETY SAK
...
PHP will get an array of the selected values in a variable named $test
Charles Killmer
-Original Message-
From: Harpreet [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 4:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Multiple selection in php
I want to select multiple