Actually, what I need to do is:

  $var1 = $Array2[1]
  $var2 = $Array2[2]
  etc...

but I just seem to get

  Array

as the output of $var1, $var2, etc...

susan

-----Original Message-----
From: CPT John W. Holmes
To: Susan Ator; 'Lowell Allen'; PHP
Sent: 11/14/03 4:01 PM
Subject: Re: [PHP] Having fits with input to array

From: "Susan Ator" <[EMAIL PROTECTED]>

> Perfect! That did exactly what I needed.

Good...

> Now, *ahem*, I thought I knew how to assign variables to the elements
in
> Array2 but *cough* I'm somewhat befuddled. I've not been able to find
> anything in the online php manual. Could you point me in the right
direction
> for that?

Not sure I'm following you, but

$Array2[] = $somvariable;

will add the value of $somevariable to the next element of $Array2.

Can you explain a little more what you want if that's not it.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to