On 25 Jan 2001 13:04:27 +0800, Jamie wrote:
> return array($lang_pref,$currancy_pref);
if you make this return array("language" => $lang_pref, "currency" =>
$currency_pref)
you can store the value and reference it by name (eg)
$prefs=your_func($whatever);
echo "language pref: ".$prefs["language"];
echo "currency pref: ".$prefs["currency"];
hope this helps.
Hrishi
- [PHP] multiple function returns Jamie
- Re: [PHP] multiple function returns jeremy brand
- Re: [PHP] multiple function returns Steve Edberg
- Hrishi

