Re: newbie - add 15 to number in list



not sure if i follow you




Balaskas Evaggelos wrote:

version2 wrote:
Hi there,

I am outputing a list of 10 values.

10, 20, 30, 40, etc

I can add 15 to one of the values then reorder the values from smallest
to highest but i want to update every single value and assign it values
increamenting by 10

so after the update the second number of 20 and add 15 I get

10, 30, 35, 40

now i want to re output the values above as

10, 20, 30, 40

can someone please help.


do this $arr = arr1 = array (.........);

or use $arr[][] syntax

.



Relevant Pages

  • Re: newbie - add 15 to list then reorder
    ... sorry for the confusion, once i have added 15 to one of the numbers and ... I am outputing a list of 10 values. ... I can add 15 to one of the values then reorder the values from smallest ... increamenting by 10 ...
    (alt.php)
  • Re: newbie - add 15 to number in list
    ... version2 wrote: ... I am outputing a list of 10 values. ... I can add 15 to one of the values then reorder the values from smallest ... increamenting by 10 ...
    (comp.lang.php)
  • Re: newbie - add 15 to number in list
    ... I am outputing a list of 10 values. ... I can add 15 to one of the values then reorder the values from smallest ... // Print the sorted changed order using the ... You're just changeling one number, reordering the series then putting the original numbers back. ...
    (comp.lang.php)
  • Re: newbie - add 15 to number in list
    ... I am outputing a list of 10 values. ... I can add 15 to one of the values then reorder the values from smallest ... // Print the sorted changed order using the ... // original values that were copied to $bar ...
    (comp.lang.php)