Hi all. I'm confused. If I return an array from a class function, how can I go about printing it's variables? In the below snippet "$user->confirmUserExists()" returns an array call "$userarray" that contains all the user variables. How can I go about printing the variables?
//Require User Info
require_once(DIR_WS_CLASSES . 'users.class.php');
// Create UserDB Connection
$user = new MySQLDB($db->db_link);
//Check if User Session Exists
$userExist = $user->confirmUserExists($_SESSION['userid'], $_SESSION['pass']);