* Thus wrote Pawe³ Kondzior ([EMAIL PROTECTED]):
> Hello everybody, i have strange behaviour with sizeof().
> mysql_fetch_array () return for me empty array, when i count this array by
> sizeof() it return 1, serialized array is look like this: b:0; check it:
> it will print 1 .. why ?
> what i
> -Original Message-
> From: Neil Freeman [mailto:[EMAIL PROTECTED]]
> Sent: 11 January 2002 12:03
>
> Who's awake today then? :) What I'm trying to do is create variable
> variable arrays and then fill these arrays with values. The problem I
> have though is that the values don't appear
That's done the trick. More coffee for me I think :) Cheers Jason.
Jason Wong wrote:
> On Friday 11 January 2002 20:02, Neil Freeman wrote:
> > Hi there guys,
> >
> > Who's awake today then? :)
>
> Someone isn't :)
>
> > Here's a snippet of the code. Any ideas guys???
> >
> > ...
> > //s
On Friday 11 January 2002 20:02, Neil Freeman wrote:
> Hi there guys,
>
> Who's awake today then? :)
Someone isn't :)
> Here's a snippet of the code. Any ideas guys???
>
> ...
> //store children page_IDs into array for each parent
> $str_array = "menu_array_" . $current_parent_page_ID;
array_count_values() does something like this. It groups together
values and tells you how many times they occur in an array...
example
$array = array(
array("foo","bar","rex"),
array("foo","bar","zip"),
array("foo","bar","zoo"),
array("foo","bar","rex"));
/* put all e
On Saturday 25 August 2001 14:44, Saurabh Kapoor wrote:
> I am a C programmer, looking to migrate some code to PHP (Unusual, but
> my colleagues request it).
>
> Can someone tell me the size (in bytes) of the type int in PHP.
It's sizeof (int), i.e. the same size as an int in C on that platform.
it should.
if(is_array($x[0]))
$count = count($x[0]);
else
$count = 'not an array';
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Chris Anderson [mailto:[E
7 matches
Mail list logo