|  | Posted by Geoff Berrow on 09/18/05 03:09 
I noticed that Message-ID:<1127000738.976833.221680@f14g2000cwb.googlegroups.com> from
 news@celticbear.com contained the following:
 
 >foreach ($a as $v1) {
 >  $fieldname = $v1;
 $v1 is an array and so $fieldname is also an array
 >  foreach ($v1 as $v2) {
 >    $returned = valid_field($fieldname,$v2);
 we don't know what your function does
 >    if ($returned != "true") {
 >      $error .= $returned;
 >      $errflag = "1";
 >    }
 >  }
 >}
 
 Try setting up a simple multidimensional array and echoing it to screen.
 Then add your checking function when you understand what's going on.
 --
 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/
  Navigation: [Reply to this message] |