Re: [PHP] [SOLVED] Function shall receive Pointer to Array

2005-05-05 Thread Fred Rathke
Thanks, Chris. You have been right. It worked already. I still remove all my typing errors in the original version. For this list I wrote a new version of it. Should have tried it first. Sorry. Greatings *I should not work after midnight* Liebe Grüße Fred Rathke [EMAIL PROTECTED] http

[PHP] Function shall receive Pointer to Array

2005-05-04 Thread Fred Rathke
Hello, how can a function get a pointer to an array? This does not work. I use PHP4. $t = array("test" => "unchanged"); echo "testarray unchanged:\"".$t['test']."\""; changearray($t); echo "testarray hopefully changed:\"".$t['test']."\""; function changearray(&$myarray) { $myarray['test'] = "chan