On Fri, Apr 30, 2010 at 7:33 PM, Nick Balestra n...@beyounic.com 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
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
On 30 April 2010 23:57, Nick Balestra n...@beyounic.com wrote:
us_census = array('NY' = array('New York' = 8008278),
'CA' = array('Los Angeles' = 3694820,
'San Diego'
= 1223400),
hello everybody here is my array(s)
$us_census = array('NY' = array('New York' = 8008278),
'CA' = array('Los Angeles' = 3694820,
'San Diego' =
1223400),
'IL' =
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' =
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...
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 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 ( $row2 = mysql_fetch_array($result2) )
{
//echo
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 ( $row2 =
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);
$purchases[002][200304] = array('regular'=1, 'booked'=0);
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);
On 27 Oct 2003 13:20:48 -0500, you wrote:
echo 'table border=1'.\n
.'tr'
.'thSKU/th'
.'thJan/th'
.'thFeb/th'
.'thMar/th'
.'thApr/th'
.'thMay/th'
.'thJun/th'
.'thJul/th'
.'thAug/th'
.'thSep/th'
.'thOct/th'
.'thNob/th'
I am trying to learn some new things in the hopes that it would help me
with my mysql/PHP programming. The following code gives me an error:
Warning: Illegal offset type in z.php on line 25 .
$result=mysql_query(SELECT * FROM division);
while(($row=mysql_fetch_object($result))){
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
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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
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
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
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:
] 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
accomplish this by first using
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][$string2]br /\n;
Hi from a recent PHP convert,
Having a heck of a time declaring and accessing 2 dimensional info in an array.
any input on where to start looking for the answer would be greatly appreciated.
I want to have a base array of 5 elements. The first 4 elements are variables, and the
fifth is an
21 matches
Mail list logo