Tue Oct 28, 2008 1:53 pm
<?php
$val1 = "";
$val2 = "";
function return_multi_value(&$value1, &$value2)
{
$value1 = "This is the first value";
$value2 = "This is the second value";
}
return_multi_value($val1, $val2);
print("$val1<br />$val2<br />");
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.