Re: [PHP] Multiple Select Field

2005-04-03 Thread Tom Rogers
Hi, Monday, April 4, 2005, 2:58:36 AM, you wrote: RK> Please excuse the length and complexity of this post. I am facing a RK> complicated problem and need to find a solution. Also, I have posted this RK> on both PHP and MySQL boards so please overlook the possibly slightly RK> off-topic subject.

Re: [PHP] Multiple Select Field

2005-04-03 Thread Marek Kilimajer
FIND_IN_SET(str,strlist) Returns a value 1 to N if the string str is in the string list strlist consisting of N substrings. A string list is a string composed of substrings separated by `,' characters. If the first argument is a constant string and the second is a column of type SET, the FIND_I

[PHP] Multiple Select Field

2005-04-03 Thread Robb Kerr
Please excuse the length and complexity of this post. I am facing a complicated problem and need to find a solution. Also, I have posted this on both PHP and MySQL boards so please overlook the possibly slightly off-topic subject. I have got one table that contains personal information about us

Re: [PHP] Multiple select boxes - select in one box, populate from DB in second with no refresh!

2005-01-21 Thread Jochem Maas
Matt Babineau wrote: I just found a descent tutorial after another 45 mins of searching and pulling a php file into the ifram to output the data, then pulling the data in from the iframe will work, thanks for your response! I was concerned with cross-browser compatability but hey who cares about

RE: [PHP] Multiple select boxes - select in one box, populate from DB in second with no refresh!

2005-01-21 Thread Matt Babineau
;-) Matt Babineau Criticalcode w: http://www.criticalcode.com p: 858.733.0160 e: [EMAIL PROTECTED] -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, January 21, 2005 12:41 PM To: Matt Babineau Subject: Re: [PHP] Multiple select boxes - select in one box

[PHP] Multiple select boxes - select in one box, populate from DB in second with no refresh!

2005-01-21 Thread Matt Babineau
Hi all - I know this has been covered a lot but my searching has resulting in not much success, was hoping someone had the link to a good page on this. I have on select box that when I select something in it I need the other select box to get vales from a database table with out having the page r

Re: [PHP] multiple select option alternative to field_name[]

2003-12-29 Thread Marek Kilimajer
Use this.form.elements['select1[]'] Terence wrote: Dear All, The only way I know to retrieve all the values from a multiple select field is to use the square brackets after the field name ie. user_id[] The problem however is that when I use a javascript function to transfer the items from multip

Re: [PHP] multiple select option alternative to field_name[]

2003-12-28 Thread Binay
CTED]> Sent: Monday, December 29, 2003 11:46 AM Subject: [PHP] multiple select option alternative to field_name[] > Dear All, > > The only way I know to retrieve all the values from a multiple select field > is to use > the square brackets after the field name ie. user_id[] >

[PHP] multiple select option alternative to field_name[]

2003-12-28 Thread Terence
Dear All, The only way I know to retrieve all the values from a multiple select field is to use the square brackets after the field name ie. user_id[] The problem however is that when I use a javascript function to transfer the items from multiple_select_list1 to multiple_select_list2, I cannot u

Re: [PHP] multiple select box

2003-09-04 Thread Robert Cummings
Did you remember the [] on the select field's name? Otherwise it will treat data as a scalar and constantly overwrite until the last selected entry is reached. Cheers, Rob. On Thu, 2003-09-04 at 16:39, Steve Goodman wrote: > Hey all, > I'm curious if anyone else has ever come across this problem

[PHP] multiple select box

2003-09-04 Thread Steve Goodman
Hey all, I'm curious if anyone else has ever come across this problem: I have a multiple select box named 'chosen'. When it is submitted, only the last option selected appears under $_POST['chosen'], when I print_r($_POST). Any ideas? Thanks in advance, Steve -- PHP General Mailing List (http://

Re: [PHP] Multiple Select Form

2003-07-22 Thread CPT John W. Holmes
> I have a form that has a select form object with where I can select multiple > values. The select is called "number". When I post the form, I get a lot > of variables called $number with the various values I selected. Is there a > way that I can make this an array of values? name it "number[]

[PHP] Multiple Select Form

2003-07-22 Thread Van Andel, Robbert
I have a form that has a select form object with where I can select multiple values. The select is called "number". When I post the form, I get a lot of variables called $number with the various values I selected. Is there a way that I can make this an array of values? Robbert van Andel

RE: [PHP] multiple select box not showing values

2003-07-08 Thread Giz
Is imgList an array, and did you specify it as such in the form? Are you foreach() through the array to get the contents? -Original Message- From: Micah Montoy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 12:03 AM To: [EMAIL PROTECTED] Subject: [PHP] multiple select box not

[PHP] multiple select box not showing values

2003-07-08 Thread Micah Montoy
I have a select box that is filled with multiple values and when the user clicks submit, it hightlights all the values in the select box and then sends this to my PHP file. I did a simple: echo ($_POST["imgList"]); to see what was happening and the only value being carried across is the last val

[PHP] multiple select problem

2003-02-16 Thread Thomas Moore
I had code working that was passing multiple select values to another screen from a form... In the URL on the next page I see a bunch of characters, so it doesn't work... %5C%22year_model_id%5B%5D%5C%22=60776 Anyone know what this is and how to fix it??? It was working fine for months and

Re: [PHP] multiple select problem

2003-01-01 Thread Tom Rogers
Hi, Thursday, January 2, 2003, 12:39:46 PM, you wrote: EK> i am now facing a problem in multiple select. EK> This is my example code in html. EK> EK> 123 EK> 234 EK> 345 EK> EK> i select all the value and pass to php...it should be a array. EK> but when i display the destList value,

Re: [PHP] multiple select problem

2003-01-01 Thread Jason k Larson
What about if you use this instead: HTH, Jason k Larson Elaine Kwek wrote: i am now facing a problem in multiple select. This is my example code in html. 123 234 345 i select all the value and pass to php...it should be a array. but when i display the destList value, it just sho

[PHP] multiple select problem

2003-01-01 Thread Elaine Kwek
i am now facing a problem in multiple select. This is my example code in html. 123 234 345 i select all the value and pass to php...it should be a array. but when i display the destList value, it just show the "6" the last value... where goes wrong? Elaine Kwek -- PHP General Mai

Re: [PHP] multiple select list

2002-04-18 Thread Robert Cummings
Preston Wade wrote: > > Hello All, > > I have seen what I am trying to do on other web sites, but they were written > in client side scripting languages. This may or may not be a limitation of > server side scripting languages. What I am trying to do is dynamically Limitation??? Bah, you can

[PHP] multiple select list

2002-04-18 Thread Preston Wade
Hello All, I have seen what I am trying to do on other web sites, but they were written in client side scripting languages. This may or may not be a limitation of server side scripting languages. What I am trying to do is dynamically generate 2 drop down list. I want the second list to cont

Re: [PHP] multiple select statement

2001-08-23 Thread Andrey Hristov
in HTML in PHP code var_dump($HTTP_POST_VARS['availabilities']; Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Natasha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001

[PHP] multiple select statement

2001-08-23 Thread Natasha
hi, i want to know how i can get all selected values of a multiple select statement using $HTTP_POST_VARS thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP] multiple select question

2001-08-21 Thread David Robley
On Tue, 21 Aug 2001 15:38, Raphael Pirker wrote: > Hi, > > I have a dynamic multiple select where data is added to using the > JavaScript found here: > > http://javascript.internet.com/forms/menu-swapper.html > > I have a question: How do I read all the values into an array or > something else? My

[PHP] multiple select question

2001-08-20 Thread Raphael Pirker
Hi, I have a dynamic multiple select where data is added to using the JavaScript found here: http://javascript.internet.com/forms/menu-swapper.html I have a question: How do I read all the values into an array or something else? My select has the NAME "read". TIA, Raphael -- PHP General M

Re: [PHP] Multiple select forms on same page

2001-05-11 Thread elias
.html file: List box tests (multiple): Item1 Item2 Item3 Item4 .php file: while (list(, $value) = each($ListBox2) { echo $value; } -elias http://www.eassoft.cjb.net "Fates" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Need an example of mult

[PHP] Multiple select forms on same page

2001-05-11 Thread Fates
Need an example of multiple select forms on the same page using PHP, Javascript, and MySQL. Can someone point me to a link. I have a Javascript that does this but I need to see the MySQL and PHP part. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] Multiple select box and form submitting

2001-05-07 Thread Johnson, Kirk
[mailto:[EMAIL PROTECTED]] > Subject: [PHP] Multiple select box and form submitting > > i've got a multiple select on a form and want to > find out *all* selected values. > > the form looks like so: > > > First > Second > Third > > > when the form subm

[PHP] Multiple select box and form submitting

2001-05-07 Thread ..s.c.o.t.t.. [gts]
i apologize in advance if the answer to my question is glaringly obvious. i've got a multiple select on a form and want to find out *all* selected values. the form looks like so: First Second Third when the form submits, $form['category'] is not an array of selected values, but rather a sing

Re: [PHP] multiple select

2001-02-16 Thread Toby Butzon
Change the name of your select to "test[]" instead of "test", then access it like an array: foreach($test as $current) { echo "$current was selected\n"; } --toby Pablo Martin De Natale wrote: > > Hello, I'm trying to make a multiple select... > > I've this code... > > > 1 > 2 > 3 > > >

[PHP] multiple select

2001-02-16 Thread Pablo Martin De Natale
Hello, I'm trying to make a multiple select... I've this code... 1 2 3 then I select more than one option but when I see the value of $test, I only see the last value that I checked. Somebody can help me? Thanks Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe,