You are here: Re: loop question « All PHP « IT news, forums, messages
Re: loop question

Posted by Rich on 12/01/06 19:18

On 1 Dec 2006 09:47:36 -0800, ia wrote...
>
>
>>
>>Please don't post the same post each 45minutes as a new user, it's enough once.
>
>I am sorry I may not be clear. Bascially the problem I was trying to
>explain is I am assigning multiple $strings to multiple arrays, so
>therefore I need a way to assign multiple string counts like ($string1
>$string2 ---- not $string[1] $string[2] to such arrays.)
>
>How do you get PHP to work this way?
>
>in a loop {
>
>$string1 = $array1
>$string2 = $array2
>$string3 = $array3
>$string4 = $array4
>$string...
>
>}
>
>How do I get the count affixed to the $string1 without expressing it
>like $string[x]
>
>Thank you mucho for any assistance!
>

It might be more effort than it's worth to constantly track the array count an
update the value anytime something changes. You can probably get by using the
count($array1) function to get the count for a specific array.

Rich
--
Newsguy.com - Basic Accounts $39.95 / 12 months
http://newsguy.com/overview.htm

 

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

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