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 = function to get the array count
--snip--
And I would get 3 as an answer.
Thanks,
FletchSOD
--
PHP
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 = function to get the array count
--snip--
And I would get 3 as an answer.
Thanks,
FletchSOD
--
PHP
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 = function to get the array count
--snip--
And I would get 3 as an answer.
Thanks,
FletchSOD
count($array);
--
PHP
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[]
html
head
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
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
6 matches
Mail list logo