Re: Capturing multiple select with Javascript - nearly ther
| From: | Phoebe Bright | Date: | Tue, 19 Nov 2002 19:32:56 +0000 |
| Subject: | Re: Capturing multiple select with Javascript - nearly ther | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125138@lists.php.net to get a copy of this message | ||
Many thanks for your reply, I will add the bugs site to my list of things to search before posting here!
As I am putting the code onto a number of servers where I can't control the PHP settings, I will need to devise a work around. Good to know it's not my poor coding.
Phoebe.
Mike Ford wrote:
-----Original Message----- From: Phoebe Bright [mailto:phoebebright@spamcop.net] Sent: 19 November 2002 14:20 My remaining problem is that the array that PHP sees only has the final few characters of the values it should have. This is the result of print_r after selecting two items (analysis1 and analysis3): Array ( [0] => ysis1 [1] => ysis3 ) expecting: Array ( [0] => analysis1 [1] => analysis3 )Known bug. A quick search of http://bugs.php.net/ for "character cut off form array" reveals half a dozen reports for this, of which this is probably the most informative: http://bugs.php.net/bug.php?id=19518. Basically, you need to configure PHP without --enable-mbstr-enc-trans (or install 4.3.0RC1, if that's acceptable for you). Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.ukTel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211