You are here: Working with 3 arrays « PHP « IT news, forums, messages
Working with 3 arrays

Posted by Robert Sossomon on 09/26/38 11:10

I need to work with 3 different arrays where I get the value of the same key for
all 3 (probably a term for this one).

The three arrays are:
field[]
type[]
char[]
and each will be assigned via another form.

What will happen is at the end of the form I want to be able to pull
field[0] type[0] char[0]
process the data and then move to the next one in all three.

I am thinking
$fields = $_POST[field];
foreach ($fields as $field)
{
Do the stuff
}

But I am a bit perplexed on how to operate on all three.

Thanks,
Robert


--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
robert_sossomon@ncsu.edu

 

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

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