Yes you can simply assign arrays like $a = "0"; $a = "1"; $b = $a;
echo $b[0]; would print 0 > -----Original Message----- > From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 5:08 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Can it be doen with Array???? > > Hi! > > I know that it can be done with certain variables that can overwrite > another variable. Like .... > > $test = "123"; > $other = "xyz"; > > $test = $other; > > What about the Array? Can this be done? > > $array_test[1] = "abc"; > $array_test[2] = "jkl"; > $array_test[3] = "$%("; > > $other_test = $array_test; > > echo $other_test[1]; > > Would the result be "abc"???? Does it work that way? I need > something > that would work with one array to a different array. > > Thanks.... > > > > > > -- > 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