Re: [PHP] Retrieving data from multiple select list

2001-03-11 Thread Carsten Gehling
From: "Ben Cheng" <[EMAIL PROTECTED]> Sent: Sunday, March 11, 2001 3:27 PM > Yeah I saw this in the online manual but is there any other way of > doing this that doesn't require naming the select box in HTML with a > [] at the end? Cause I have another button that calls a JavaScript > to sel

Re: [PHP] Retrieving data from multiple select list

2001-03-11 Thread Ben Cheng
Yeah I saw this in the online manual but is there any other way of doing this that doesn't require naming the select box in HTML with a [] at the end? Cause I have another button that calls a JavaScript to select all the options within CategoryID[] and it doesn't seem to work cause it's looki

Re: [PHP] Retrieving data from multiple select list

2001-03-11 Thread Edi Murfy
try this: in the form: Item 1 Item 2 Item 3 in the script: $num = sizeof($CategoryID); // Number of array items for($i=0;$i<$num;$i++) { // $CategoryID[$i] --> whatever you wanna do with it... } "Ben Cheng" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:p05010402b6d0b285663b