|  | Posted by .:[ ikciu ]:. on 10/17/06 22:03 
Hmm Uzytkownik <kurrent@gmail.com> wrote:> 1.) How would I make a copy of the old prices array that
 >    was manipulated?
 
 $copy = $prices;
 
 > 2.) a) What if i have commas in my prices by default?
 
 str_replace(',','.',$newprice) + 9....
 
 >
 >    b) How would I go about processing comma values
 >       received via a form that a user entered or from .CSV
 >       file that looked like (132,500, 123,340, 345,959,
 >       244,459)?
 
 str_replace(',','.',$newprice) + 9....
 
 
 >    c) How would I add a comma into my printed outputed values?
 
 str_replace('.',',',$newprice) + 9....
 
 
 > 3.) There must be a better way to print out all the values
 >    from an array but constructing a loop came to mind and
 >    beats doing it one by one. Is there better way?
 
 you can do it this way what you do
 
 
 --
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Ikciu  |  gg: 718845  |  yahoo: ikciu_irsa | www: www.e-irsa.pl
 
 2be || !2be $this => mysql_query();
 [Back to original message] |