Returning values from a function
| From: | Ron Piggott | Date: | Mon, 15 Nov 2010 03:10:55 +0000 |
| Subject: | Returning values from a function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-309487@lists.php.net to get a copy of this message | ||
I am writing a string parsing function.
I need to return 3 values from a function:
return $string_to_display;
return $string_to_parse;
return $continue_parsing;
I am not sure how to retrieve these variables.
The Verse of the Day
“Encouragement from God’s Word”
http://www.TheVerseOfTheDay.info