[PHP] is PHP crazy, or am I?

2001-09-13 Thread Christian Dechery
whats wrong with the code below? function bubblesort($vetor,$tam) { $trocou=true; $i=$j=0; while($trocou) { $trocou=false; for($j=0; $j$tam-$i; $j++)

Re: [PHP] is PHP crazy, or am I?

2001-09-13 Thread Tom Carter
maybe I'm wrong, but don't you need a return value? - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 08, 2001 2:24 AM Subject: [PHP] is PHP crazy, or am I? whats wrong with the code below? function bubblesort($vetor,$tam

Re: [PHP] is PHP crazy, or am I?

2001-09-13 Thread Alexander Skwar
So sprach »Tom Carter« am 2001-09-14 um 03:58:50 +0100 : maybe I'm wrong, but don't you need a return value? No, he doesn't . Have a look at the 1st parameter. PS: Fullquotes are not necessary. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english)