Re: [PHP] header redirect with POST?

2004-10-08 Thread djoseph
I'm not sure I completely understand what is trying to be accomplished, but it sounds like some javascript could be used to do this. Basically, you'd have form a submit to form b, then form b generate a form with a few hiddens, then force a submit with javascript to form c. -Dan Joseph -

Re: [PHP] Problem with a while loop

2004-10-07 Thread djoseph
The following script would look like this when run 1 2 3 4 I needed it to look like this 1 2 3 You're going to want to use printf or sprintf to format the numbers. example: printf( %05d, $i ); this would print out your number, then left fill it will the zeros you

Re: [PHP] Help with Array Sorting Please

2004-10-07 Thread djoseph
I have an array like this: 123 = 1 // each value may have few or many duplicate values 321 = 1 543 = 2 432 = 2 // like here, more 2's than 1's see? 566 = 2 568 = 2 999 = 3 878 = 3 444 = 3 Now, the keys are not the issue. What i would really like, is for that array, to end up