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.
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
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
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
;-)
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
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
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
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[]
>
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
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
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://
> 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[]
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
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
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
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
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,
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
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
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
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
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
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,
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
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
.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
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]
[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
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
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
>
>
>
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,
31 matches
Mail list logo