Return array values
View Single Post
04-24-2009, 12:57 AM
Join Date: Feb 2009
Location: New York
Originally Posted by
Please forgive me if I don't know how to utilize your code. Here is the code I am using:
Again, I know the values of:
are correct right before the 'return array' statement. How do I view the contents of ("first_name", "last_name", and "email") after the 'return array' statement to ensure that they have the correct values passed to them? Or where can I input your code to see?
Thanks for your assistance!
Right, my code above should work, just do this:
list($first_name,$last_name,$email) = info($user);
echo "$first_name : $last_name : $email";
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay