RE: [PHP] Convert a string to an array

From: Date: Thu, 24 Oct 2002 17:38:01 +0000
Subject: RE: [PHP] Convert a string to an array
Groups: php.general 
Request: Send a blank email to php-general+get-121319@lists.php.net to get a copy of this message
> -----Original Message----- > From: Scott Fletcher [mailto:scott@abcoa.com] > Sent: 23 October 2002 17:32 > > I never see this one to work for the array, "$word{$z};" with > a " { " or " } > " instead of the bracket. That's not an array reference, it's a substring reference: $word{$z} accesses the character at position $z in the string $string. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#121319) next »