Re: Mind exploded on this one!
| From: | Jim Lucas | Date: | Fri, 11 Jul 2003 18:59:20 +0000 |
| Subject: | Re: Mind exploded on this one! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154921@lists.php.net to get a copy of this message | ||
You have almost everything correct here
change that last line to this.
$arrayListArray = compact('booleanNonFormVars', 'booleanVars',
'profileVarArray',
'profileNonFormVarArray');
notice the use of compact()
Jim Lucas
----- Original Message -----
From: "Phil Powell" <soazine@erols.com>
To: <talk@lists.nyphp.org>; <php-general@lists.php.net>
Sent: Friday, July 11, 2003 11:21 AM
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