Re: copy an array.. how to

From: Date: Wed, 08 Nov 2000 22:17:45 +0000
Subject: Re: copy an array.. how to
Groups: php.windows 
Request: Send a blank email to php-windows+get-3761@lists.php.net to get a copy of this message
> Is possible to copy an array to a variable. > > I tried it this way (without succes): > > $info = array("CV=>fotocv.php","Vestiging=>fotobuilding.php"); > $newarray = $info; > > print( count($newarray) ); i'm sure you're looking for $info = array( "CV" => "fotocv.php", "Vestiging" => "fotobuilding.php"); daniel /*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.de

« previous php.windows (#3761) next »