|
Posted by roN on 10/01/05 04:47
roN wrote:
> wouldn't a sort-algorithm like this work:
> function MySort($Array, $StringA)
> {
> $i=Array;
> for ($i=0; $i>=Array.size(); $i++)
> {
> while (strpos($Array[$i],$StringA))//if Array $i contains StringA,
> {
> move Element $i to $i+1; and
> move $i+1 to $i;
> }
> }
> }
> but how to move the elements?
Well, can't you help me anymore?
--
chEErs roN
I'm root, I'm allowed to do this! ;)
keep on rockin'
Navigation:
[Reply to this message]
|