[PHP] Problem with arrays

2005-06-24 Thread virtualsoftware
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

[PHP] Problem with arrays

2005-06-24 Thread virtualsoftware
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

[PHP] Problem with arrays

2005-06-24 Thread Jimmy jimmy hoo
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

RE: [PHP] Problem with arrays

2005-06-24 Thread Mike Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array (

[PHP] Problem with arrays

2005-06-24 Thread Fannehh DIFF
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

Re: [PHP] Problem with arrays

2005-06-24 Thread Bob Winter
Mike Johnson wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array (

Re: [PHP] Problem with arrays

2005-06-24 Thread Josh Olson
for ($i = 0; $i count($array1); i++) $array1[$i][] = $array2[$i]; from kevin l'huillier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with arrays

2005-06-24 Thread Kevin L'Huillier
On 24/06/05, Josh Olson [EMAIL PROTECTED] wrote: for ($i = 0; $i count($array1); i++) $array1[$i][] = $array2[$i]; from kevin l'huillier That's basically what Mike wrote (only with array_push instead of []), and Bob improved upon. And they didn't mix the arrays up. I was only

[PHP] Problem with arrays

2005-03-25 Thread virtualsoftware
Hi, I have a form like this: form action=products.php method=post input name=position[pos][$value] type=text id=position[pos][$value] value=number 1 input name=position[pos][$value] type=text id=position[pos][$value] value=number 2 input name=position[pos][$value] type=text

RE: [PHP] Problem with arrays

2005-03-25 Thread Jay Blanchard
[snip] form action=products.php method=post input name=position[pos][$value] type=text id=position[pos][$value] value=number 1 input name=position[pos][$value] type=text id=position[pos][$value] value=number 2 input name=position[pos][$value] type=text id=position[pos][$value] value=number 3

Fw: [PHP] Problem with arrays

2005-03-25 Thread Jeff Schmidt
I sent this to the original user, but forgot to CC it to the list. I'm just sending this now, for completeness. - Original Message - From: Jeff Schmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 25, 2005 5:10 PM Subject: Re: [PHP] Problem with arrays Hello there. Well

[PHP] Problem using Arrays

2003-10-24 Thread Geeta Rajaraman
Hi: I am trying to create a function that can store the user's info. Currently I have this: sessionInfo.inc === ?php class sessionInfo { /* * @(#) sessionInfoBean.java * * A class to handle sessions. * * @version 10 1 Oct 2003 * * */ /** * Variables */ var $last_name;

[PHP] Problem with Arrays?

2003-02-22 Thread Patrick Teague
I ran into something interesting the only thing I can figure out is that functions won't use any variables other than globals, those past to the function, or those created inside the function? here's what I had that didn't print anything other than 3 blank lines for this section of code -

Re: [PHP] Problem with Arrays?

2003-02-22 Thread Ernest E Vogelsinger
At 13:46 22.02.2003, Patrick Teague said: [snip] here's what I had that didn't print anything other than 3 blank lines for this section of code - $byteSize[0] = bytes; $byteSize[1] = kb; $byteSize[2] = mb; function getMaxSize( $maxSize ) { echo

Re: [PHP] Problem with Arrays?

2003-02-22 Thread Justin French
on 22/02/03 11:46 PM, Patrick Teague ([EMAIL PROTECTED]) wrote: I ran into something interesting the only thing I can figure out is that functions won't use any variables other than globals, those past to the function, or those created inside the function? exactly :) you bring the array or

[PHP] problem with arrays. Please Help!!

2001-09-25 Thread ewunia
Hello, I need some help with checkboxes and multiple arrays, Here is the peace of code I am working with, and it gives me a list of products. This is the while statement which grabs information from the database: $tplv .= TR BGCOLOR=\$bgColor\ class=\medium\ align=\center\; $P.=input