----- Original Message -----
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "Phil Powell" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 12:33 PM
Subject: Re: [PHP] Mind exploded on this one!


> ----- Original Message -----
> From: "Phil Powell" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> 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



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

Reply via email to