me1000 Posted June 27, 2008 Share Posted June 27, 2008 I feel like an idiot for asking this, but I need some help... I have a simple 2D array, $oObj->specailPageList = array( 'login' => 'login.php' ); Now I want to get the value of row... (in this case I want "login.php") to be returned... I just cant turn anything up! echo $oObj->specailPageList["login"]; Thanks, Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted June 27, 2008 Share Posted June 27, 2008 can we see the whole script if your in the class you need to use $this->specialPageList['Login']; also special is special not specail spelling errors will kill you eventually. Quote Link to comment Share on other sites More sharing options...
me1000 Posted June 27, 2008 Author Share Posted June 27, 2008 actually that was a typo... however the "$this->" fixed it... Like I said, I figured it was a stupid mistake like that! I appreciate the assistance. Thank You, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.