markifornia Posted April 17, 2012 Share Posted April 17, 2012 Script is awesome, working great. I am just trying to understand this function the list() function used in conjunction with the custom check_login() function (this function is created in includes/login_functions.inc.php) The() list function in this script takes on two parameters or returned values. Does this mean that the check_login function needs to return exactly 2 values? What if there are 3 values returned by the check_login function, would that mean the list_function() would need a third parameter? If check_login returned 3 values, then would it be like so: list($check, $data, $more_data) Thanks Mark Link to comment Share on other sites More sharing options...
Edward Posted April 17, 2012 Share Posted April 17, 2012 The list() function can take as many array elements as are returned from the array in any function. So yes you are correct. 2 Link to comment Share on other sites More sharing options...
markifornia Posted April 17, 2012 Author Share Posted April 17, 2012 Thanks for clarifying Edward. that confirms my understanding of the list() function. 1 Link to comment Share on other sites More sharing options...
Edward Posted April 18, 2012 Share Posted April 18, 2012 No bother at all. Link to comment Share on other sites More sharing options...
HartleySan Posted April 18, 2012 Share Posted April 18, 2012 Edward, is your avatar from Alone in the Dark 2? Either way, what a classic. Alone in the Dark was truly the first ever survival horror game. Link to comment Share on other sites More sharing options...
Edward Posted May 4, 2012 Share Posted May 4, 2012 The last avatar i had up was Alone in the Dark 2 but i took it down because i thought it was a little too violent for this forum, Carnby holding the guns etc. The avatar i have up now is from Alone in the Dark 1 in the ballroom. Yes i really like Alone in the Dark 1 - 3, especially the 2nd, its just a plain and simple game, nothing so fast and complicated as they are today. A good website to register for old games is http://www.gog.com/, i got a few good oldies off there. Link to comment Share on other sites More sharing options...
HartleySan Posted May 4, 2012 Share Posted May 4, 2012 Yeah, heard about that site, but didn't know they had the Alone in the Dark series. Sweet! Only ever played the first one, and always wanted to play the other two. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts