Sorry, forgot to post to the list. sa
-----Original Message----- From: Susan Ator Sent: Monday, November 17, 2003 11:12 AM To: 'CPT John W. Holmes' Subject: RE: [PHP] Having fits with input to array D'oh. You're right. I have a tendency to do things the hard way. That's what comes of getting too focused on doing things a certain way. :P Thanks, I think that does it for me! susan -----Original Message----- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:12 AM To: Susan Ator; ''Lowell Allen' '; 'PHP ' Subject: Re: [PHP] Having fits with input to array ----- Original Message ----- From: "Susan Ator" <[EMAIL PROTECTED]> > Hm... I should clarify this some more. This is the result of $Array2: > > Array ( > [0] => Array ( > [0] => 15083 [snip] > What I need is to be able to assign a variable to $Array2[0] - [0] so for > the first one it would be: > > $var0 = 15083 [snip] > How do I get to this point? The question is, why do you need to get to that point? I think you're doing to much work. You already have the variable $Array2[0][0] that you can use anywhere, why do you need to assign it to yet another variable. Maybe you just need to look at foreach() for looping through the array? What was your point of getting $var0, $var1, $var2, etc... there's probably a better method for whatever you're doing. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php