On 17 March 2006 07:39, Gustav Wiberg wrote:
> - Original Message -
> From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
> To: "PHP-General"
> Sent: Friday, March 17, 2006 7:51 AM
> Subject: [PHP] making a tutorial
>
>
> > I'm ma
George Pitcher wrote:
Which of the following pets do have at home:
dog
cat
snake
snake
none of
these
[snip]
I don't know if this works in PHP as well.
It is a "checkbox" so it won't work without "[]" in PHP.
It will work without []. It will just not be an array.
For checkboxes you coul
> >>> Which of the following pets do have at home:
> >>> dog
> >>> cat
> >>> snake
> >>> snake
> >>> none of
> >>> these
> >>>
> > [snip]
> >> I don't know if this works in PHP as well.
> > It is a "checkbox" so it won't work without "[]" in PHP.
> >
>
> It will work without []. It will just not b
Sameer N Ingole said:
> Gustav Wiberg wrote:
>>
>> - Original Message - From: "John Taylor-Johnston"
>> <[EMAIL PROTECTED]>
>> To: "PHP-General"
>> Sent: Friday, March 17, 2006 7:51 AM
>> Subject: [PHP] making a tutorial
&
Gustav Wiberg wrote:
- Original Message - From: "John Taylor-Johnston"
<[EMAIL PROTECTED]>
To: "PHP-General"
Sent: Friday, March 17, 2006 7:51 AM
Subject: [PHP] making a tutorial
I'm making a tutorial and don't really understand how to do this
- Original Message -
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
To: "PHP-General"
Sent: Friday, March 17, 2006 7:51 AM
Subject: [PHP] making a tutorial
I'm making a tutorial and don't really understand how to do this myself :)
Which of the
Hi!
On Fri, 17 Mar 2006 01:51:41 -0500
John Taylor-Johnston wrote:
> I'm making a tutorial and don't really understand how to do
> this myself :)
>
> Which of the following pets do have at home:
> value="dog">dog
> value="cat">cat
> value="snake">snake
> value="other">snake
> value="non
Parse.. It will be an array after you submit the form.
So depends on what you wanna do with it.
Do a print_r($favourite); after form submit and you will see.
How to store it.. well if you wanna it in seperate fields you can loop
through it and do an insert on every array element in your DB or st
I'm making a tutorial and don't really understand how to do this myself :)
Which of the following pets do have at home:
dog
cat
snake
snake
none of these
How do I parse favourite[]? I might have 2 or 5, so I need to parse ^0]
- nMax. It is a checkbox.
I might use favourite[] with mail() or s
9 matches
Mail list logo