Re: Mind exploded on this one!

From: Date: Fri, 11 Jul 2003 18:36:19 +0000
Subject: Re: Mind exploded on this one!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-154917@lists.php.net to get a copy of this message
----- Original Message ----- From: "Kevin Stone" <kevin@helpelf.com> To: "Phil Powell" <soazine@erols.com>; <php-general@lists.php.net> Sent: Friday, July 11, 2003 12:33 PM Subject: Re: [PHP] Mind exploded on this one! > ----- Original Message ----- > From: "Phil Powell" <soazine@erols.com> > To: <talk@lists.nyphp.org>; <php-general@lists.php.net> > Sent: Friday, July 11, 2003 12:21 PM > Subject: [PHP] Mind exploded on this one! > > > $booleanNonFormVars = array('hasSelectedLetter', 'hasEnteredProfile', > 'hasSelectedProfile', > 'hasEditedProfile', 'hasDeletedProfile', > 'willDeleteProfile', > 'willDeletePic'); > $booleanVars = array('profileID', 'showemail', 'showbirthday', > 'season', > 'profilememberid'); > $profileVarArray = array('firstname', 'lastname', 'city', > 'state', > 'country', 'favebands', > 'faveconcert', 'favescandinavia', > 'faveviking', > 'favemeat', > 'freetime', 'thingslove', 'thingshate', > 'favebibleverse', > 'changeonething', 'maritalstatus', > 'birthday', > 'favemovie', > 'faveplace', 'favetv', 'imgpath', > 'imgext'); > $profileNonFormVarArray = array('profileName', 'letter', > 'name'); > > $arrayListArray = array('booleanNonFormVars', 'booleanVars', > 'profileVarArray', > 'profileNonFormVarArray'); > > Bluntly put, I need to get: > $hasSelectedLetter > $letter > > Etc.. > > I have absolutely NO idea how to do this, help! > > Phil > > ----------------------------------------------------------------------- > > Oh my. :) > > Looks like to me you've got.. > $hasSelectedLetter = $arrayListArray['booleanNonFormVars'][0]; > $letter = $arrayListArray['profileNonFormVarArray'][1]; > > HTH, > Kevin Correction! The indicies are not valid. My mistake. :) $hasSelectedLetter = $arrayListArray['booleanNonFormVars']['hasSelectedLetter']; $letter = $arrayListArray['profileNonFormVarArray']['letter']; - Kevin

« previous php.general (#154917) next »