Posted by The87Boy on 09/26/06 11:04
Are there somebody, who can tell me, what I'm doing wrong with this function: function hej($q, &$h) { if ($q == 0) { return true; $h = 'Hello'; } else { return false; $h = 'Goodbye'; } } $rt = hej(0, &$a); if ($rt==true) { echo 'Hej'; } else { echo 'Farvel'; } print_r($a); echo "<br />\n";
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming