Reply to Re: Array help

Your name:

Reply:


Posted by Geoff Berrow on 05/29/05 03:09

I noticed that Message-ID:
<1116959517.302776.64650@g47g2000cwa.googlegroups.com> from Davide
contained the following:

>---start---
> ds0 ds1
>
>1116577800: 4.9947045401e+06 1.8617100885e+05
>1116579600: 5.6350684561e+06 2.0436081850e+05
>1116581400: 5.6629472702e+06 2.3664823803e+05
>---end----
>
>I would like to have only this value:
>
>$ds0 = 4.9947045401e+06
>$ds1 = 1.8617100885e+05

Use explode() on each line, spitting on the space. The items you need
will be the second and third elements of the resultant arrays.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

[Back to original 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

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