Multiple Select And Javascript Issue

From: Date: Fri, 25 Aug 2000 03:27:55 +0000
Subject: Multiple Select And Javascript Issue
Groups: php.general 
Request: Send a blank email to php-general+get-13571@lists.php.net to get a copy of this message
Hi, Scenario as follows: SELECT with MULTIPLE options is being built by Javascript code that won't accept a variable name like "items[]" so it fills a field called "items". This is'nt too bad as I can work around it with a hidden field. The problem is that PHP doesn't populate HTTP_POST_VARS with the entries from "items" unless they are acutally selected. Can I get PHP to return all values from the SELECT MULTIPLE variable? Regards GRANT WALTERS Walters & Associates, P O Box 13-043, Johnsonville, Wellington, New Zealand Phone: +64 4 4765175 CellPhone: 025 488265

« previous php.general (#13571) next »