Scott Fletcher wrote:
>Is there PHP function that would get the total array count.
>
>ie
>--snip--
>$array[0] = "zero";
>$array[1] = "one";
>$array[2] = "two";
>
>$array_count =
>--snip--
>
>And I would get 3 as an answer.
>
>Thanks,
> FletchSOD
>
>
>
>
>
count($array);
--
PHP General Mail
count($array);
Scott Fletcher wrote:
>Is there PHP function that would get the total array count.
>
>ie
>--snip--
>$array[0] = "zero";
>$array[1] = "one";
>$array[2] = "two";
>
>$array_count =
>--snip--
>
>And I would get 3 as an answer.
>
>Thanks,
> FletchSOD
>
>
>
>
>
--
PHP General Ma
cout($array)
Scott Fletcher wrote:
>Is there PHP function that would get the total array count.
>
>ie
>--snip--
>$array[0] = "zero";
>$array[1] = "one";
>$array[2] = "two";
>
>$array_count =
>--snip--
>
>And I would get 3 as an answer.
>
>Thanks,
> FletchSOD
>
>
>
>
>
--
PHP General Mail
This is a nice easy one :)
It couldn't be simpler.
Just put empty square brackets (as used in arrays) in front of your
checkbox name.
The example below assumes you have PHP 4.1 or greater (which uses
$_POST to contain form posted data)
notice how name="ck[]"
Untitled
".$varval."")
I've been developing an open source MVC framework in PHP and it's going OK. However, I
wanted to find out about any other frameworks around the place that do a similar
thing. I want to see how other people approach this design pattern.
Here are my main aims:
1) standardise development patterns
I have had "inconsistency" issues when outputing diffrent content-types
to IE. It seems to cache the type for a articular file somewhere and
deleting temporary files in the usaer agent is no good. I have to
shut-down all instances of IE then re-launch it for it to behave like
it is supposed to _co
6 matches
Mail list logo