Re: [PHP] Capturing multiple select with Javascript - nearly ther

2002-11-22 Thread Phoebe Bright
My original reply may have got lost in the sending, so thanks for the info in case you didn't receive it. Phoebe. Mike Ford wrote: -Original Message- From: Phoebe Bright [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 14:20 My remaining problem is that the array that PHP sees

Re: [PHP] Capturing multiple select with Javascript - nearly ther

2002-11-19 Thread Phoebe Bright
Mike Ford wrote: -Original Message----- From: Phoebe Bright [mailto:[EMAIL PROTECTED]] 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 (ana

[PHP] Capturing multiple select with Javascript - nearly there

2002-11-19 Thread Phoebe Bright
I want to use Javascript to move items from a source list to a destination list and then PHP to retrieve the items in the destination list. After much head bashing and pointers from various forum archives I am nearly there! Can anyone help me? My remaining problem is that the array that PHP

[PHP] Re: Plus sign changing to space in html form

2002-10-31 Thread Phoebe Bright
Here is a fudge that uses Javascript to convert the + into {PLUS} then PHP converts it back again. The only problem is Javascript is only converting the first +, so a+b+c becomes a+b c. $testVal=str_replace("{PLUS}","+",$_POST['test']); echo $testVal; php?>
function SaveHiddenChars() {

[PHP] Re: Plus sign changing to space in html form

2002-10-31 Thread Phoebe Bright
I am battling with the same problem on both IE and Netscape on Mac OS 10.2. Is this a Mac thing? I ammended your code in the hope that something was being passed that only looked like a space.. echo $_POST['test'].''; for($n=1;$n<=strlen($_POST['test']);$n++) { echo var_dump(hexdec(substr($