|
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]
|