On 30 April 2010 23:57, Nick Balestra wrote:
> us_census = array('NY' => array('New York' => 8008278),
> 'CA' => array('Los Angeles' => 3694820,
> 'San Diego'
> => 1223400),
>
Thanks! I'll agree with you abotu ur points, i just started php few days
ago..so i am in the first phase of learnign it...and this list is so gr8!
thanks evrybody
cheers, Nick
On May 1, 2010, at 6:11 PM, Programming Guides wrote:
> On Fri, Apr 30, 2010 at 7:33 PM, Nick Balestra wrote:
> thank
On Fri, Apr 30, 2010 at 7:33 PM, Nick Balestra wrote:
> thanks Piero!
>
> i was trying to solve an excercise on "learning php5" (O'reilyl) book.
>
> I am happy abotut his solution with the array_sum funtion you suggested,
> and my multidimensional array make much more sense to mee then they
> sug
thanks Piero!
i was trying to solve an excercise on "learning php5" (O'reilyl) book.
I am happy abotut his solution with the array_sum funtion you suggested, and my
multidimensional array make much more sense to mee then they suggested solution
that also much more line of code comapred...
loo
Am 01.05.2010 00:57, schrieb Nick Balestra:
> hello everybody here is my array(s)
>
>
> $us_census = array('NY' => array('New York' => 8008278),
> 'CA' => array('Los Angeles' => 3694820,
>'San Diego' =>
On Thu, May 5, 2005 2:08 am, Angelo Zanetti said:
[sorry for the double-post...]
> the other server. Its running Apache 1 and the server that works is
> running Apache 2.
Are you sure it's not the broken server running Apache 2?...
And possibly PHP 5?
And MySQL 4.1?
Which means you need mysqli
hi,
On 5/5/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I have a problem where I use a multi dimensional array on one server and
> now have moved it to another server and it just doesnt work:
>
> $result2 = $userdb->listUsers($clubID);
> $i=0;
>
> while (
On 27 Oct 2003 13:20:48 -0500, you wrote:
>echo ''."\n"
>.''
>.'SKU'
>.'Jan'
>.'Feb'
>.'Mar'
>.'Apr'
>.'May'
>.'Jun'
>.'Jul'
>.'Aug'
>.'Sep'
>.'Oct'
>.'Nob'
>.'Dec'
>.''."\n";
for ($i = 1; $i <= 12; $i++)
{
e
On Mon, 2003-10-27 at 12:44, Aaron Gould wrote:
> This array problem has been stumping my brain for a little while now...
> here's a sample of my data:
>
> $purchases[001][200304] = array('regular'=>3, 'booked'=>4);
> $purchases[002][200303] = array('regular'=>5, 'booked'=>1);
> $pu
Line 25 looks like this:
$division[$div_id][$array]=array();
The first subscript to division is $div_id, which is fine.
The second one is $array, which is an array. That doesn't make any sense.
Array keys have to be strings or numbers. You'd have to create a separate
array at each subscrip
] multi-dimensional array
At 03:41 PM 12/5/2001 -0500, Jordan wrote:
>Is there any way to pass a multi-dimenstional through a url. something
like
>/cart.exe?item[1][1]=3
>
>just curious.
>
>-Jordan
I haven't personally done this myself, but theoretically you could
accompl
At 03:41 PM 12/5/2001 -0500, Jordan wrote:
>Is there any way to pass a multi-dimenstional through a url. something like
>/cart.exe?item[1][1]=3
>
>just curious.
>
>-Jordan
I haven't personally done this myself, but theoretically you could
accomplish this by first using the serialize function:
Sorry, I sent that too soon.. here's my test results:
http://localhost/test.php?var[test][5][]=test
[HTTP_GET_VARS] => Array
(
[var] => Array
(
[test] => Array
(
[5] => Array
Should work. Why not give it a try, and let the good people of this list
know?
Mike
Jordan wrote:
>Is there any way to pass a multi-dimenstional through a url. something like
>/cart.exe?item[1][1]=3
>
>just curious.
>
>-Jordan
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To uns
Not only a good answer, but the best explanation.
thanks,
bill hollett
Rasmus Lerdorf wrote:
> > The first echo statement doesn't work, the second does. Anybody know
> > why?
> >
> > $string1=15;
> > $string2=27;
> > $myarray[$string1][$string2]="syncopated";
> > echo "$myarray[$string1][$str
> The first echo statement doesn't work, the second does. Anybody know
> why?
>
> $string1=15;
> $string2=27;
> $myarray[$string1][$string2]="syncopated";
> echo "$myarray[$string1][$string2]\n"; //displays Array[27]
> echo $myarray[$string1][$string2] . "\n"; //displays syncopated
Complex va
16 matches
Mail list logo