You are here: Re: newbie - add 15 to number in list « PHP Programming Language « IT news, forums, messages
Re: newbie - add 15 to number in list

Posted by Balaskas Evaggelos on 08/31/06 05:48

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация