Reply to Re: Can't display column of multi-dimensional array

Your name:

Reply:


Posted by news on 09/18/05 05:01

Thanks for the help!
I went this way:

$a = array(
array('name' => 'Name', 'value' => $name),
array('name' => 'Message', 'value' => $msg),
array('name' => 'Subject', 'value' => $subj)
);

foreach ($a as $v1) {
$a1 = $v1['name'];
$a2 = $v1['value'];
$returned = valid_field($a1,$a2);
if ($returned != "true") {
$error .= $returned;
$errflag = "1";
}
}

I get that; that makes sense to me.
I was just about the write how I still don't "get" the LIST version,
and when I went to copy-n-paste it into here...I got it.
The relationship of the $field, which is the next iteration of the
array, and the LIST parses the twho columns, right?

Well, in any case, that works AND I get it!. =)
Much appreciated!!
Liam

[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

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